From: Johannes Weiner Date: Wed, 23 Mar 2011 23:42:33 +0000 (-0700) Subject: memcg: keep only one charge cancelling function X-Git-Tag: v2.6.39-rc1~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7018b8d27e0c9aa2200e5b393e0fe9093c6565c;p=pandora-kernel.git memcg: keep only one charge cancelling function We have two charge cancelling functions: one takes a page count, the other a page size. The second one just divides the parameter by PAGE_SIZE and then calls the first one. This is trivial, no need for an extra function. Signed-off-by: Johannes Weiner Acked-by: KAMEZAWA Hiroyuki Cc: Daisuke Nishimura Cc: Balbir Singh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed