From: Andrew Morton Date: Fri, 9 Nov 2012 03:05:09 +0000 (+1100) Subject: ipc-convert-prepare_copy-from-macro-to-function-fix X-Git-Tag: next-20121109~9^2~28 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1107913ee85c63d762a4c01b4b38667a96dbb4a1;p=karo-tx-linux.git 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 --- 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;