From: Tom Hromatka Date: Tue, 16 Aug 2016 16:46:56 +0000 (-0700) Subject: ftrace: remove unnecessary __maybe_unused from waitfd() parameters X-Git-Tag: v4.1.12-105.0.20170705_2000~53 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=734c245b4eeca767374af941f7d3e3ef2886e7c8;p=users%2Fjedix%2Flinux-maple.git ftrace: remove unnecessary __maybe_unused from waitfd() parameters __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 Signed-off-by: Tom Hromatka (cherry picked from commit 2f772dbf28c6bd410ca0855fc3260331030b6d9a) Signed-off-by: Allen Pais --- diff --git a/fs/waitfd.c b/fs/waitfd.c index d9dc7b4cc04c0..6f12a2200d49f 100644 --- a/fs/waitfd.c +++ b/fs/waitfd.c @@ -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;