mirror of https://github.com/torvalds/linux.git
cgroup: Remove unused local variables from cgroup_procs_write_finish()
d8b269e009 ("cgroup: Remove unused cgroup_subsys::post_attach") made $ss
and $ssid unused but didn't drop them leading to compilation warnings. Drop
them.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Chuyi Zhou <zhouchuyi@bytedance.com>
This commit is contained in:
parent
d8b269e009
commit
222f83d5ab
|
|
@ -3026,9 +3026,6 @@ struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup,
|
||||||
|
|
||||||
void cgroup_procs_write_finish(struct task_struct *task, bool threadgroup_locked)
|
void cgroup_procs_write_finish(struct task_struct *task, bool threadgroup_locked)
|
||||||
{
|
{
|
||||||
struct cgroup_subsys *ss;
|
|
||||||
int ssid;
|
|
||||||
|
|
||||||
/* release reference from cgroup_procs_write_start() */
|
/* release reference from cgroup_procs_write_start() */
|
||||||
put_task_struct(task);
|
put_task_struct(task);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue