From 0aa9f1bd14e01e4acccb3eef1a2979eb18471b06 Mon Sep 17 00:00:00 2001 From: Cho KyongHo Date: Fri, 8 Sep 2017 11:42:00 +0900 Subject: [PATCH] [COMMON] mm/hpa: remove test condition that always true Coverity CID197219 Change-Id: I6afd75fdaf705dbfa4c905bb8e0c859bd77999de Signed-off-by: Cho KyongHo --- mm/hpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.20.1