mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
mm/oom-kill: Remove obsolete IS_ENABLED check
CONFIG_HAVE_LOW_MEMORY_KILLER is no longer present on 5.4, so remove a check to see if it's enabled or not. Change-Id: Ifcd88a0e29b7da6dede7f98fcb4c99ffc7bf3c02 Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
This commit is contained in:
parent
90ec8176a8
commit
7e10ca7b44
1 changed files with 1 additions and 2 deletions
|
|
@ -1158,8 +1158,7 @@ void pagefault_out_of_memory(void)
|
|||
.order = 0,
|
||||
};
|
||||
|
||||
if (IS_ENABLED(CONFIG_HAVE_LOW_MEMORY_KILLER) ||
|
||||
IS_ENABLED(CONFIG_HAVE_USERSPACE_LOW_MEMORY_KILLER))
|
||||
if (IS_ENABLED(CONFIG_HAVE_USERSPACE_LOW_MEMORY_KILLER))
|
||||
return;
|
||||
|
||||
if (mem_cgroup_oom_synchronize(true))
|
||||
|
|
|
|||
Loading…
Reference in a new issue