mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Remove unused member from nsproxy
The nslock spinlock is not used in the kernel at all. Remove it. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Cc: Cedric Le Goater <clg@fr.ibm.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Herbert Poetzl <herbert@13thfloor.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
970a8645ca
commit
1efd24fa05
2 changed files with 0 additions and 2 deletions
|
@ -76,7 +76,6 @@ extern struct nsproxy init_nsproxy;
|
||||||
#define INIT_NSPROXY(nsproxy) { \
|
#define INIT_NSPROXY(nsproxy) { \
|
||||||
.pid_ns = &init_pid_ns, \
|
.pid_ns = &init_pid_ns, \
|
||||||
.count = ATOMIC_INIT(1), \
|
.count = ATOMIC_INIT(1), \
|
||||||
.nslock = __SPIN_LOCK_UNLOCKED(nsproxy.nslock), \
|
|
||||||
.uts_ns = &init_uts_ns, \
|
.uts_ns = &init_uts_ns, \
|
||||||
.mnt_ns = NULL, \
|
.mnt_ns = NULL, \
|
||||||
INIT_NET_NS(net_ns) \
|
INIT_NET_NS(net_ns) \
|
||||||
|
|
|
@ -23,7 +23,6 @@ struct pid_namespace;
|
||||||
*/
|
*/
|
||||||
struct nsproxy {
|
struct nsproxy {
|
||||||
atomic_t count;
|
atomic_t count;
|
||||||
spinlock_t nslock;
|
|
||||||
struct uts_namespace *uts_ns;
|
struct uts_namespace *uts_ns;
|
||||||
struct ipc_namespace *ipc_ns;
|
struct ipc_namespace *ipc_ns;
|
||||||
struct mnt_namespace *mnt_ns;
|
struct mnt_namespace *mnt_ns;
|
||||||
|
|
Loading…
Reference in a new issue