aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2017-09-08 16:17:49 -0700
committerLinus Torvalds <[email protected]>2017-09-08 18:26:51 -0700
commit8419e64a0b734a1f98a07fc7c489495bebc6e33a (patch)
tree181a98902dc36cf410a4103cce95c5310e1f31de
parent9405c03ee778cd3e353e55fff6e16dfdd9609c02 (diff)
ipc/sem: drop sem_checkid helper
... 'tis not used. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Davidlohr Bueso <[email protected]> Cc: Manfred Spraul <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-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