shm: fix unused warnings on nommu
authorMike Frysinger <vapier@gentoo.org>
Tue, 9 Jun 2009 23:26:23 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jun 2009 23:59:03 +0000 (16:59 -0700)
commit586c7e6a280580fd94b662bf486f9bb31098d14b
tree27547e0dc35c34431f9504ad51b70ccccc55c14f
parent13df635f080d411a152c92087a384135c1562fac
shm: fix unused warnings on nommu

The massive nommu update (8feae131) resulted in these warnings:
ipc/shm.c: In function `sys_shmdt':
ipc/shm.c:974: warning: unused variable `size'
ipc/shm.c:972: warning: unused variable `next'

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/shm.c