From: Nikanth Karthikesan Date: Thu, 28 May 2009 21:34:41 +0000 (-0700) Subject: memcg: fix build warning and avoid checking for mem != null again and again X-Git-Tag: v2.6.30-rc8~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46f7e602fb32e02145ef14f8c0ca6d399f0a96b9;p=pandora-kernel.git memcg: fix build warning and avoid checking for mem != null again and again Fix build warning, "mem_cgroup_is_obsolete defined but not used" when CONFIG_DEBUG_VM is not set. Also avoid checking for !mem again and again. Signed-off-by: Nikanth Karthikesan Acked-by: Pekka Enberg Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed