summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2008-07-25 10:48:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 19:53:42 +0200
commit2c0c29d414087f3b021059673c20a7088f5f1fff (patch)
tree713b226382814837840b0ed2a42b909dbb6cfaf9 /include
parentipc/sem.c: convert undo structures to struct list_head (diff)
downloadlinux-2c0c29d414087f3b021059673c20a7088f5f1fff.tar.xz
linux-2c0c29d414087f3b021059673c20a7088f5f1fff.zip
ipc/sem.c: remove unused entries from struct sem_queue
sem_queue.sma and sem_queue.id were never used, the attached patch removes them. Signed-off-by: Manfred Spraul <manfred@colorfullife.com> Reviewed-by: 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 'include')
-rw-r--r--include/linux/sem.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sem.h b/include/linux/sem.h
index 6a1af1b49a13..87756ef1198e 100644
--- a/include/linux/sem.h
+++ b/include/linux/sem.h
@@ -107,8 +107,6 @@ struct sem_queue {
struct sem_undo * undo; /* undo structure */
int pid; /* process id of requesting process */
int status; /* completion status of operation */
- struct sem_array * sma; /* semaphore array for operations */
- int id; /* internal sem id */
struct sembuf * sops; /* array of pending operations */
int nsops; /* number of operations */
int alter; /* does the operation alter the array? */