]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfaccf0b7e57b7ea2df98037c0dc4ca1fe036744e
tree4d5d57fa391ad01803a7174a146e0eb5e831fcfc
parent19670838c44af8492735f4959b20c5d6854ead21
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