oom: fix NULL pointer dereference
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Thu, 19 Aug 2010 21:13:38 +0000 (14:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Aug 2010 16:34:55 +0000 (09:34 -0700)
commitbe71cf2202971e50ce4953d473649c724799eb8a
tree4bc4b927c3f55c12128929ab0d52e061c2a257ec
parentf522886e202a34a2191dd5d471b3c4d46410a9a0
oom: fix NULL pointer dereference

Commit b940fd7035 ("oom: remove unnecessary code and cleanup") added an
unnecessary NULL pointer dereference.  remove it.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c