]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ftrace: remove unnecessary __maybe_unused from waitfd() parameters
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 16 Aug 2016 16:46:56 +0000 (09:46 -0700)
committerAllen Pais <allen.pais@oracle.com>
Sat, 24 Jun 2017 01:27:47 +0000 (06:57 +0530)
__maybe_unused is not required for unused function parameters.  In
fact, using __maybe_unused confuses the ftrace parser.  Thus, this
change removes these superfluous descriptors.

Orabug: 24327424

Reviewed-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 2f772dbf28c6bd410ca0855fc3260331030b6d9a)
Signed-off-by: Allen Pais <allen.pais@oracle.com>
fs/waitfd.c

index d9dc7b4cc04c064b329555437455e62d1e297ba5..6f12a2200d49f2d3cd07a271e2a9af3b7063dd60 100644 (file)
@@ -90,8 +90,8 @@ static const struct file_operations waitfd_fops = {
        .llseek         = noop_llseek,
 };
  
-SYSCALL_DEFINE4(waitfd, int __maybe_unused, which, pid_t, upid, int, options,
-               int __maybe_unused, flags)
+SYSCALL_DEFINE4(waitfd, int, which, pid_t, upid, int, options,
+               int, flags)
 {
        int ufd;
        struct waitfd_ctx *ctx;