Messages in this thread Patch in this message | | | Date | Tue, 12 Mar 2013 14:50:17 +0800 | From | Li Zefan <> | Subject | [PATCH 2/8] cgroup: remove unused variables in cgroup_destroy_locked() |
| |
Signed-off-by: Li Zefan <lizefan@huawei.com> --- kernel/cgroup.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 02b02ca..71bc33d 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -4347,10 +4347,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); -- 1.8.0.2
| |