diff options
author | WANG Cong <wangcong@zeuux.org> | 2009-01-06 14:42:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 15:59:29 -0800 |
commit | e8148f7588064e45080bf1120883380a2efe5c9b (patch) | |
tree | 3696d738d8e118632c456d77f4a0a4afdcfc98e5 /samples | |
parent | 8cd3ac3aca3f2afe8570708066d64d893da468e8 (diff) | |
download | linux-e8148f7588064e45080bf1120883380a2efe5c9b.tar.bz2 |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions