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-20121112~5^2~33 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8c44726a0f11d63d1717c32a921b2a4dd05f38cd;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;