summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-06-18 01:27:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 22:03:47 +0200
commit338c843108bf5030d6765f4405126e70f8b77845 (patch)
treec3bdab2f288e4c5a843ea07e0f8938a821ab848a /include
parentmemcg: remove mem_cgroup_cache_charge_swapin() (diff)
downloadlinux-338c843108bf5030d6765f4405126e70f8b77845.tar.xz
linux-338c843108bf5030d6765f4405126e70f8b77845.zip
memcg: remove some redundant checks
We don't need to check do_swap_account in the case that the function which checks do_swap_account will never get called if do_swap_account == 0. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions