mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
ipc: delete "nr_ipc_ns"
Write-only variable. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a4691deabf
commit
3bd080e4d8
3 changed files with 0 additions and 6 deletions
|
|
@ -43,7 +43,6 @@ static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns,
|
|||
kfree(ns);
|
||||
return ERR_PTR(err);
|
||||
}
|
||||
atomic_inc(&nr_ipc_ns);
|
||||
|
||||
sem_init_ns(ns);
|
||||
msg_init_ns(ns);
|
||||
|
|
@ -96,7 +95,6 @@ static void free_ipc_ns(struct ipc_namespace *ns)
|
|||
sem_exit_ns(ns);
|
||||
msg_exit_ns(ns);
|
||||
shm_exit_ns(ns);
|
||||
atomic_dec(&nr_ipc_ns);
|
||||
|
||||
put_user_ns(ns->user_ns);
|
||||
ns_free_inum(&ns->ns);
|
||||
|
|
|
|||
Loading…
Reference in a new issue