Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e10ca7b authored by Chris Goldsworthy's avatar Chris Goldsworthy
Browse files

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: default avatarChris Goldsworthy <cgoldswo@codeaurora.org>
parent 90ec8176
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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))