Skip to content
Commit 21786e5c authored by Daniel Vacek's avatar Daniel Vacek Committed by Tejun Heo
Browse files

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: default avatarDaniel Vacek <neelx@redhat.com>
Reviewed-by: default avatarAaron Tomlin <atomlin@atomlin.com>
Acked-by: default avatarMukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 512dee0c
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