diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2017-09-08 19:17:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-08 21:26:51 -0400 |
commit | 8419e64a0b734a1f98a07fc7c489495bebc6e33a (patch) | |
tree | 181a98902dc36cf410a4103cce95c5310e1f31de /ipc | |
parent | 9405c03ee778cd3e353e55fff6e16dfdd9609c02 (diff) |
ipc/sem: drop sem_checkid helper
... 'tis not used.
Link: http://lkml.kernel.org/r/20170803184136.13855-1-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/sem.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -130,8 +130,6 @@ struct sem_undo_list { | |||
130 | 130 | ||
131 | #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) | 131 | #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) |
132 | 132 | ||
133 | #define sem_checkid(sma, semid) ipc_checkid(&sma->sem_perm, semid) | ||
134 | |||
135 | static int newary(struct ipc_namespace *, struct ipc_params *); | 133 | static int newary(struct ipc_namespace *, struct ipc_params *); |
136 | static void freeary(struct ipc_namespace *, struct kern_ipc_perm *); | 134 | static void freeary(struct ipc_namespace *, struct kern_ipc_perm *); |
137 | #ifdef CONFIG_PROC_FS | 135 | #ifdef CONFIG_PROC_FS |