summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-03-12 23:35:58 +0100
committerTejun Heo <tj@kernel.org>2013-03-12 23:35:58 +0100
commit6dc01181eac16192dc4a5d1b310b78e2e97c003c (patch)
treed9663da8b5c3f413a1bdf3e92790aaa7f5fc4298 /kernel/cgroup.c
parentcgroup: remove cgroup_is_descendant() (diff)
downloadlinux-6dc01181eac16192dc4a5d1b310b78e2e97c003c.tar.xz
linux-6dc01181eac16192dc4a5d1b310b78e2e97c003c.zip
cgroup: remove unused variables in cgroup_destroy_locked()
Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to '')
-rw-r--r--kernel/cgroup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index f51443fd5f71..fd0b056d8da5 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -4346,10 +4346,8 @@ static int cgroup_destroy_locked(struct cgroup *cgrp)
{
struct dentry *d = cgrp->dentry;
struct cgroup *parent = cgrp->parent;
- DEFINE_WAIT(wait);
struct cgroup_event *event, *tmp;
struct cgroup_subsys *ss;
- LIST_HEAD(tmp_list);
lockdep_assert_held(&d->d_inode->i_mutex);
lockdep_assert_held(&cgroup_mutex);