On Tue, Apr 30, 2019 at 05:57:29PM +0800, Shaokun Zhang wrote: > The 'cgrp' is set but not used in commit <76f969e8948d8> > ("cgroup: cgroup v2 freezer"). > Remove it to avoid [-Wunused-but-set-variable] warning. > > Cc: Roman Gushchin <guro@xxxxxx> > Cc: Tejun Heo <tj@xxxxxxxxxx> > Signed-off-by: Shaokun Zhang <zhangshaokun@xxxxxxxxxxxxx> Hi Shaokun! There is a cgroup_update_frozen(cgrp) call just below, so the variable is in use. Thanks!