ipc/util: drop ipc_rcu_free()
PATCH 39/96 ipc/util: drop ipc_rcu_free()
From: Kees Cook <[email protected]>
Subject: ipc/util: drop ipc_rcu_free()
There are no more callers of ipc_rcu_free(), so remove it.
Signed-off-by Kees Cook <[email protected]>
Signed-off-by Manfred Spraul <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
ipc/util.c | 7 ------- ipc/util.h | 1 - 2 files changed, 8 deletions(-)
ipc/util.c renamed from ipc/util.c~ipc-util-drop-ipc_rcu_free +0 -6
@@ -429,13 +429,6 @@ void ipc_rcu_putref(struct kern_ipc_permcall_rcu (&ptr->rcu, func); } -void ipc_rcu_free (struct rcu_head *h) -{ - struct kern_ipc_perm *ptr = container_of(h, struct kern_ipc_perm, rcu); - -kvfree (ptr); -}