From: Tejun Heo Date: Fri, 22 Nov 2013 23:20:43 +0000 (-0500) Subject: memcg: remove cgroup_event->cft X-Git-Tag: v3.14-rc1~136^2~35^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=347c4a8747104a945ecced358944e42879176ca5;p=pandora-kernel.git memcg: remove cgroup_event->cft The only use of cgroup_event->cft is distinguishing "usage_in_bytes" and "memsw.usgae_in_bytes" for mem_cgroup_usage_[un]register_event(), which can be done by adding an explicit argument to the function and implementing two wrappers so that the two cases can be distinguished from the function alone. Remove cgroup_event->cft and the related code including [un]register_events() methods. Signed-off-by: Tejun Heo Acked-by: Li Zefan Acked-by: Kirill A. Shutemov Acked-by: Michal Hocko --- Reading git-diff-tree failed