From: Russell King Date: Fri, 6 Jan 2006 08:10:52 +0000 (-0800) Subject: [PATCH] Shut up warnings in ipc/shm.c X-Git-Tag: v2.6.16-rc1~936^2~265 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03b00ebcc804180829d513df9e92e5fe8f72aacf;p=pandora-kernel.git [PATCH] Shut up warnings in ipc/shm.c Fix two warnings in ipc/shm.c ipc/shm.c:122: warning: statement with no effect ipc/shm.c:560: warning: statement with no effect by converting the macros to empty inline functions. For safety, let's do all three. This also has the advantage that typechecking gets performed even without CONFIG_SHMEM enabled. Signed-off-by: Russell King Cc: Manfred Spraul Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed