summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorLi Zefan2014-09-17 12:18:09 +0200
committerTejun Heo2014-09-17 23:34:15 +0200
commit6213daab2547fdc0d02a86abf3ac209ac6881ae3 (patch)
treeace86ec26a63554138a9b80ae0bf750d74d994bc /kernel/cgroup.c
parentMerge branch 'for-3.17-fixes' of ra.kernel.org:/pub/scm/linux/kernel/git/tj/c... (diff)
downloadkernel-qcow2-linux-6213daab2547fdc0d02a86abf3ac209ac6881ae3.tar.gz
kernel-qcow2-linux-6213daab2547fdc0d02a86abf3ac209ac6881ae3.tar.xz
kernel-qcow2-linux-6213daab2547fdc0d02a86abf3ac209ac6881ae3.zip
cgroup: remove some useless forward declarations
Signed-off-by: Zefan Li <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index ebd4476c57de..619aae399a3a 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -185,7 +185,6 @@ static int need_forkexit_callback __read_mostly;
static struct cftype cgroup_dfl_base_files[];
static struct cftype cgroup_legacy_base_files[];
-static void cgroup_put(struct cgroup *cgrp);
static int rebind_subsystems(struct cgroup_root *dst_root,
unsigned int ss_mask);
static int cgroup_destroy_locked(struct cgroup *cgrp);
@@ -195,7 +194,6 @@ static void css_release(struct percpu_ref *ref);
static void kill_css(struct cgroup_subsys_state *css);
static int cgroup_addrm_files(struct cgroup *cgrp, struct cftype cfts[],
bool is_add);
-static void cgroup_pidlist_destroy_all(struct cgroup *cgrp);
/* IDR wrappers which synchronize using cgroup_idr_lock */
static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end,