From: Li Zefan Date: Tue, 31 Jan 2012 05:47:36 +0000 (+0800) Subject: cgroup: remove cgroup_subsys argument from callbacks X-Git-Tag: v3.4-rc1~179^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=761b3ef50e1c2649cffbfa67a4dcb2dcdb7982ed;p=pandora-kernel.git cgroup: remove cgroup_subsys argument from callbacks The argument is not used at all, and it's not necessary, because a specific callback handler of course knows which subsys it belongs to. Now only ->pupulate() takes this argument, because the handlers of this callback always call cgroup_add_file()/cgroup_add_files(). So we reduce a few lines of code, though the shrinking of object size is minimal. 16 files changed, 113 insertions(+), 162 deletions(-) text data bss dec hex filename 5486240 656987 7039960 13183187 c928d3 vmlinux.o.orig 5486170 656987 7039960 13183117 c9288d vmlinux.o Signed-off-by: Li Zefan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed