Skip to content

Commit

Permalink
ipc/sem: drop sem_checkid helper
Browse files Browse the repository at this point in the history
... '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]>
  • Loading branch information
Davidlohr Bueso authored and torvalds committed Sep 9, 2017
1 parent 9405c03 commit 8419e64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ipc/sem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8419e64

Please sign in to comment.