__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>
.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;