From: Felipe Contreras Date: Sun, 18 Oct 2009 22:54:29 +0000 (+0300) Subject: ipc: fix unused variable warning X-Git-Tag: v2.6.33-rc1~342^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1970c48ef06ece4e23765501976507ab52b0edd;p=pandora-kernel.git ipc: fix unused variable warning Commit a0d092f introduced the following warning: ipc/msg.c: In function ?msgctl_down?: ipc/msg.c:415: warning: ?msqid64? may be used uninitialized in this function The gcc warning in this case is actually bogus, as msqid64 is touched only iff cmd == IPC_SET, and in such case, copy_msqid_from_user() initializes it properly. Signed-off-by: Felipe Contreras Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed