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 f51443f..fd0b056 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);