projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9405c03
)
ipc/sem: drop sem_checkid helper
author
Davidlohr Bueso
<dave@stgolabs.net>
Fri, 8 Sep 2017 23:17:49 +0000
(16:17 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 9 Sep 2017 01:26:51 +0000
(18:26 -0700)
... '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>
ipc/sem.c
patch
|
blob
|
history
diff --git
a/ipc/sem.c
b/ipc/sem.c
index 31b138b9e75636671b35198a0970631c7b5c8b12..16414b8a8cca2d83c7e0490f707d7d62899512be 100644
(file)
--- 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