diff options
author | Nikanth Karthikesan <knikanth@suse.de> | 2009-05-28 14:34:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-29 08:40:03 -0700 |
commit | 46f7e602fb32e02145ef14f8c0ca6d399f0a96b9 (patch) | |
tree | 3db67ceec30ffc1ababad1d79c11ba8a61fa037c /kernel/dma-coherent.c | |
parent | f83a275dbc5ca1721143698e844243fcadfabf6a (diff) | |
download | linux-46f7e602fb32e02145ef14f8c0ca6d399f0a96b9.tar.bz2 |
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 <knikanth@suse.de>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
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 'kernel/dma-coherent.c')
0 files changed, 0 insertions, 0 deletions