summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2017-09-09 02:17:49 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-09 04:26:51 +0300
commit8419e64a0b734a1f98a07fc7c489495bebc6e33a (patch)
tree181a98902dc36cf410a4103cce95c5310e1f31de
parent9405c03ee778cd3e353e55fff6e16dfdd9609c02 (diff)
downloadlinux-8419e64a0b734a1f98a07fc7c489495bebc6e33a.tar.xz
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>
-rw-r--r--ipc/sem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipc/sem.c b/ipc/sem.c
index 31b138b9e756..16414b8a8cca 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -130,8 +130,6 @@ struct sem_undo_list {
#define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS])
-#define sem_checkid(sma, semid) ipc_checkid(&sma->sem_perm, semid)
-
static int newary(struct ipc_namespace *, struct ipc_params *);
static void freeary(struct ipc_namespace *, struct kern_ipc_perm *);
#ifdef CONFIG_PROC_FS