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 /lib/locking-selftest-spin.h | |
parent | 8cd3ac3aca3f2afe8570708066d64d893da468e8 (diff) | |
download | linux-rpi3-e8148f7588064e45080bf1120883380a2efe5c9b.tar.gz linux-rpi3-e8148f7588064e45080bf1120883380a2efe5c9b.tar.bz2 linux-rpi3-e8148f7588064e45080bf1120883380a2efe5c9b.zip |
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 'lib/locking-selftest-spin.h')
0 files changed, 0 insertions, 0 deletions