cgroup: replace explicit ss_mask checking with for_each_subsys_which
authorAleksa Sarai <cyphar@cyphar.com>
Sat, 6 Jun 2015 00:02:15 +0000 (10:02 +1000)
committerTejun Heo <tj@kernel.org>
Mon, 8 Jun 2015 09:17:32 +0000 (18:17 +0900)
commita966a4edf8d557a37446393439cd0db6612d4db8
treeffccbd7f5270000d26f0965d481622103f197ab7
parentcb4a316752709be4a644f070440a8be470d92b7d
cgroup: replace explicit ss_mask checking with for_each_subsys_which

Replace the explicit checking against ss_masks inside a for_each_subsys
block with for_each_subsys_which(..., ss_mask), to take advantage of the
more readable (and more efficient) macro.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
kernel/cgroup.c