From 1107913ee85c63d762a4c01b4b38667a96dbb4a1 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 9 Nov 2012 14:05:09 +1100 Subject: [PATCH] ipc-convert-prepare_copy-from-macro-to-function-fix remove __maybe_unused Cc: "Eric W. Biederman" Cc: James Morris Cc: Stanislav Kinsbursky Signed-off-by: Andrew Morton --- ipc/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/msg.c b/ipc/msg.c index d1bd7789c296..038a7d79eb0e 100644 --- a/ipc/msg.c +++ b/ipc/msg.c @@ -826,7 +826,7 @@ long do_msgrcv(int msqid, void __user *buf, size_t bufsz, long msgtyp, int mode; struct ipc_namespace *ns; struct msg_msg *copy = NULL; - unsigned long __maybe_unused copy_number = 0; + unsigned long copy_number = 0; if (msqid < 0 || (long) bufsz < 0) return -EINVAL; -- 2.39.5