[COMMON] mm/hpa: remove test condition that always true
authorCho KyongHo <pullip.cho@samsung.com>
Fri, 8 Sep 2017 02:42:00 +0000 (11:42 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:25 +0000 (19:45 +0900)
Coverity CID197219

Change-Id: I6afd75fdaf705dbfa4c905bb8e0c859bd77999de
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
mm/hpa.c

index f3aea9f10431a0bfcafd09fd1f2570bec078632e..4f33590304dd148aed3a2ffa2613432b3e267036 100644 (file)
--- 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)) {