Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1703354
| From | Davidlohr Bueso <dave@stgolabs.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] ipc/sem: drop sem_checkid helper |
| Date | 2017-08-03 20:50 +0200 |
| Message-ID | <uatm2-3Td-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
... 'tis not used.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
---
ipc/sem.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/ipc/sem.c b/ipc/sem.c
index 9e70cd7a17da..e9980cba07fd 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
--
2.12.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/2] ipc/sem: drop sem_checkid helper Davidlohr Bueso <dave@stgolabs.net> - 2017-08-03 20:50 +0200 [PATCH 2/2] ipc/sem: play nicer with large nsops allocations Davidlohr Bueso <dave@stgolabs.net> - 2017-08-03 20:50 +0200
csiph-web