summaryrefslogtreecommitdiff
path: root/ipc/util.c
diff options
context:
space:
mode:
authorPierre Peiffer <pierre.peiffer@bull.net>2008-02-08 12:18:56 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 17:22:26 (GMT)
commit4b9fcb0ec60584d639ad105c42b75a3447071e47 (patch)
treeb68be0c60ca985901cd20c0b8a7321e8be07d328 /ipc/util.c
parentb2d75cddc83a349ef5633f609b9734b6b957f90f (diff)
downloadlinux-fsl-qoriq-4b9fcb0ec60584d639ad105c42b75a3447071e47.tar.xz
IPC/semaphores: consolidate SEM_STAT and IPC_STAT commands
These commands (SEM_STAT and IPC_STAT) are rather doing the same things (only the meaning of the id given as input and the return value differ). However, for the semaphores, they are handled in two different places (two different functions). This patch consolidates this for clarification by handling these both commands in the same place in semctl_nolock(). It also removes one unused parameter for this function. Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net> Cc: Nadia Derbey <Nadia.Derbey@bull.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions