From: Cho KyongHo Date: Fri, 8 Sep 2017 02:42:00 +0000 (+0900) Subject: [COMMON] mm/hpa: remove test condition that always true X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0aa9f1bd14e01e4acccb3eef1a2979eb18471b06;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] mm/hpa: remove test condition that always true Coverity CID197219 Change-Id: I6afd75fdaf705dbfa4c905bb8e0c859bd77999de Signed-off-by: Cho KyongHo --- diff --git a/mm/hpa.c b/mm/hpa.c index f3aea9f10431..4f33590304dd 100644 --- a/mm/hpa.c +++ b/mm/hpa.c @@ -82,7 +82,7 @@ static int hpa_killer(void) if (!p) continue; - if (task_lmk_waiting(p) && p->mm) { + if (task_lmk_waiting(p)) { task_unlock(p); if (time_before_eq(jiffies, hpa_deathpending_timeout)) {