summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-max8997.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-06-12 21:04:55 -0700
committerTejun Heo <tj@kernel.org>2013-06-13 10:55:18 -0700
commit6f3d828f0fb7fdaffc6f32cb8a1cb7fcf8824598 (patch)
tree662fa290a077ebe5113c877040cb4b891b72d311 /drivers/leds/leds-max8997.c
parentddd69148bdc45e5e3e55bfde3571daecd5a96d75 (diff)
downloadblackbird-op-linux-6f3d828f0fb7fdaffc6f32cb8a1cb7fcf8824598.tar.gz
blackbird-op-linux-6f3d828f0fb7fdaffc6f32cb8a1cb7fcf8824598.zip
cgroup: remove cgroup->count and use
cgroup->count tracks the number of css_sets associated with the cgroup and used only to verify that no css_set is associated when the cgroup is being destroyed. It's superflous as the destruction path can simply check whether cgroup->cset_links is empty instead. Drop cgroup->count and check ->cset_links directly from cgroup_destroy_locked(). Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'drivers/leds/leds-max8997.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud