mm, oom: remove unnecessary variable
authorDavid Rientjes <rientjes@google.com>
Tue, 8 Sep 2015 22:00:47 +0000 (15:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit75e8f8b24cb0dc4951267d31f0a49e5ce2f345c4
tree4d5d57fa391ad01803a7174a146e0eb5e831fcfc
parent8989e4c7d4e3c30b55c998a1138cd06c92df7295
mm, oom: remove unnecessary variable

The "killed" variable in out_of_memory() can be removed since the call to
oom_kill_process() where we should block to allow the process time to
exit is obvious.

Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c