mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ipc/util: drop ipc_rcu_free()
There are no more callers of ipc_rcu_free(), so remove it. Link: http://lkml.kernel.org/r/[email protected] 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]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9ef5932f8a
commit
5ccc8fb54f
2 changed files with 0 additions and 8 deletions
|
|
@ -429,13 +429,6 @@ void ipc_rcu_putref(struct kern_ipc_perm *ptr,
|
|||
call_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);
|
||||
}
|
||||
|
||||
/**
|
||||
* ipcperms - check ipc permissions
|
||||
* @ns: ipc namespace
|
||||
|
|
|
|||
Loading…
Reference in a new issue