commit | 338c843108bf5030d6765f4405126e70f8b77845 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Wed Jun 17 16:27:15 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 18 13:03:47 2009 -0700 |
tree | c3bdab2f288e4c5a843ea07e0f8938a821ab848a | |
parent | 302362c5abdda80b5c2e4e57be610c2e3c2ab3c5 [diff] |
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>