summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2012-12-17 16:03:22 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:23 -0800
commita5ba911ec3792168530d35e16a8ec3b6fc60bcb5 (patch)
tree1dbffcb920aabeb12dc166aa11299bbddba8a245 /include/linux/sched.h
parentd740269867021faf4ce38a449353d2b986c34a67 (diff)
downloadop-kernel-dev-a5ba911ec3792168530d35e16a8ec3b6fc60bcb5.zip
op-kernel-dev-a5ba911ec3792168530d35e16a8ec3b6fc60bcb5.tar.gz
pidns: remove unused is_container_init()
Since commit 1cdcbec1a337 ("CRED: Neuter sys_capset()") is_container_init() has no callers. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Cc: David Howells <dhowells@redhat.com> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Cc: James Morris <jmorris@namei.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index b089c92..9914c66 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1778,12 +1778,6 @@ static inline int is_global_init(struct task_struct *tsk)
return tsk->pid == 1;
}
-/*
- * is_container_init:
- * check whether in the task is init in its own pid namespace.
- */
-extern int is_container_init(struct task_struct *tsk);
-
extern struct pid *cad_pid;
extern void free_task(struct task_struct *tsk);
OpenPOWER on IntegriCloud