cgroup: remove unused variables in cgroup_destroy_locked()
authorLi Zefan <lizefan@huawei.com>
Tue, 12 Mar 2013 22:35:58 +0000 (15:35 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 12 Mar 2013 22:35:58 +0000 (15:35 -0700)
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup.c

index f51443fd5f71bc907307e3fa063a310922c83c93..fd0b056d8da537e74789b1c81314c0e51caa1169 100644 (file)
@@ -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);