From: Li Zefan Date: Wed, 17 Jun 2009 23:27:15 +0000 (-0700) Subject: memcg: remove some redundant checks X-Git-Tag: v2.6.31-rc1~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=338c843108bf5030d6765f4405126e70f8b77845;p=pandora-kernel.git 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 Cc: Balbir Singh Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed