From 734c245b4eeca767374af941f7d3e3ef2886e7c8 Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Tue, 16 Aug 2016 09:46:56 -0700 Subject: [PATCH] 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 --- fs/waitfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/waitfd.c b/fs/waitfd.c index d9dc7b4cc04c..6f12a2200d49 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; -- 2.50.1