From: WANG Cong Date: Tue, 6 Jan 2009 22:42:49 +0000 (-0800) Subject: ipc: clean up ipc/shm.c X-Git-Tag: v2.6.29-rc1~248 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8148f7588064e45080bf1120883380a2efe5c9b;p=pandora-kernel.git ipc: clean up ipc/shm.c Use the macro shm_ids(). Remove useless check for a userspace pointer, because copy_to_user() will check it. Some style cleanups. Signed-off-by: WANG Cong Cc: Nadia Derbey Cc: Pierre Peiffer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed