WANG Cong e8148f7588 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 <wangcong@zeuux.org>
Cc: Nadia Derbey <Nadia.Derbey@bull.net>
Cc: Pierre Peiffer <peifferp@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-06 15:59:29 -08:00
..
2005-04-16 15:20:36 -07:00
2008-10-16 11:21:47 -07:00
2009-01-05 17:44:42 -08:00
2009-01-06 15:59:29 -08:00
2009-01-04 15:14:40 -05:00
2008-07-25 10:53:42 -07:00