diff options
author | Kees Cook <keescook@chromium.org> | 2017-07-12 23:34:59 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-13 01:26:01 +0200 |
commit | 5ccc8fb54f1c083f1dc7e073150ec18d43457872 (patch) | |
tree | 8abaed352aa57070ffe15a94ff48c2870911ba0c /ipc/util.h | |
parent | ipc/msg: do not use ipc_rcu_free() (diff) | |
download | linux-5ccc8fb54f1c083f1dc7e073150ec18d43457872.tar.xz linux-5ccc8fb54f1c083f1dc7e073150ec18d43457872.zip |
ipc/util: drop ipc_rcu_free()
There are no more callers of ipc_rcu_free(), so remove it.
Link: http://lkml.kernel.org/r/20170525185107.12869-9-manfred@colorfullife.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.h')
-rw-r--r-- | ipc/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ipc/util.h b/ipc/util.h index 2578fd9be835..44efbc0b635b 100644 --- a/ipc/util.h +++ b/ipc/util.h @@ -119,7 +119,6 @@ struct kern_ipc_perm *ipc_rcu_alloc(int size); int ipc_rcu_getref(struct kern_ipc_perm *ptr); void ipc_rcu_putref(struct kern_ipc_perm *ptr, void (*func)(struct rcu_head *head)); -void ipc_rcu_free(struct rcu_head *h); struct kern_ipc_perm *ipc_lock(struct ipc_ids *, int); struct kern_ipc_perm *ipc_obtain_object_idr(struct ipc_ids *ids, int id); |