memcg: remove mem from arg of charge_common
authorDaisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Wed, 11 Aug 2010 01:02:59 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:19 +0000 (08:59 -0700)
commit73045c47b6facbdf4656e6763c8cb469de4337e2
treee791667803261eb9ae5325dcd8c70acefeee9196
parentbd0d24bfe8a8f8d2400569740874a67d164d40a9
memcg: remove mem from arg of charge_common

mem_cgroup_charge_common() is always called with @mem = NULL, so it's
meaningless.  This patch removes it.

Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c