From: Tejun Heo Date: Thu, 13 Jun 2013 04:04:55 +0000 (-0700) Subject: cgroup: remove cgroup->count and use X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~44^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f3d828f0fb7fdaffc6f32cb8a1cb7fcf8824598;p=pandora-kernel.git 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 Acked-by: Li Zefan --- Reading git-diff-tree failed