Commit 6dc01181 authored by Li Zefan's avatar Li Zefan Committed by Tejun Heo

cgroup: remove unused variables in cgroup_destroy_locked()

Signed-off-by: default avatarLi Zefan <lizefan@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent e7b2dcc5
...@@ -4346,10 +4346,8 @@ static int cgroup_destroy_locked(struct cgroup *cgrp) ...@@ -4346,10 +4346,8 @@ static int cgroup_destroy_locked(struct cgroup *cgrp)
{ {
struct dentry *d = cgrp->dentry; struct dentry *d = cgrp->dentry;
struct cgroup *parent = cgrp->parent; struct cgroup *parent = cgrp->parent;
DEFINE_WAIT(wait);
struct cgroup_event *event, *tmp; struct cgroup_event *event, *tmp;
struct cgroup_subsys *ss; struct cgroup_subsys *ss;
LIST_HEAD(tmp_list);
lockdep_assert_held(&d->d_inode->i_mutex); lockdep_assert_held(&d->d_inode->i_mutex);
lockdep_assert_held(&cgroup_mutex); lockdep_assert_held(&cgroup_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment