cgroup/cpuset: no need to explicitly init a global static variable
cpuset_rwsem is a static variable defined with DEFINE_STATIC_PERCPU_RWSEM(). It's initialized at build time and so there's no need for explicit runtime init leaking one percpu int. Signed-off-by:Daniel Vacek <neelx@redhat.com> Reviewed-by:
Aaron Tomlin <atomlin@atomlin.com> Acked-by:
Mukesh Ojha <quic_mojha@quicinc.com> Signed-off-by:
Tejun Heo <tj@kernel.org>
Loading
Please register or sign in to comment