summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-03-12 15:35:58 -0700
committerTejun Heo <tj@kernel.org>2013-03-12 15:35:58 -0700
commit6dc01181eac16192dc4a5d1b310b78e2e97c003c (patch)
treed9663da8b5c3f413a1bdf3e92790aaa7f5fc4298 /kernel/cgroup.c
parente7b2dcc52b0e2d598a469f01cc460ccdde6869f2 (diff)
downloadblackbird-op-linux-6dc01181eac16192dc4a5d1b310b78e2e97c003c.tar.gz
blackbird-op-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 '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 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);
OpenPOWER on IntegriCloud