summaryrefslogtreecommitdiffstats
path: root/firmware/3com
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-03-23 16:42:33 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 19:46:29 -0700
commite7018b8d27e0c9aa2200e5b393e0fe9093c6565c (patch)
tree13a4d92cd78bc6f97d9a2b6d77880c9ea5d67aa1 /firmware/3com
parentbf1ff2635a5fda207fc870df348bfc766e8dcd4d (diff)
downloadop-kernel-dev-e7018b8d27e0c9aa2200e5b393e0fe9093c6565c.zip
op-kernel-dev-e7018b8d27e0c9aa2200e5b393e0fe9093c6565c.tar.gz
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 <hannes@cmpxchg.org> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/3com')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud