]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ipc-convert-prepare_copy-from-macro-to-function-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 15 Nov 2012 02:38:44 +0000 (13:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:32:17 +0000 (17:32 +1100)
remove __maybe_unused

Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: James Morris <jmorris@namei.org>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/msg.c

index d1bd7789c296d6f8e02be1380829f3e43b972921..038a7d79eb0e5a817a55368f4e68984bdcc2ac58 100644 (file)
--- 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;