Re: [patch] staging: lowmemorykiller: remove bogus NULL check

2016-04-08 Thread Tetsuo Handa
Dan Carpenter wrote: > The NULL checking here doesn't make sense, so it causes a static checker > warning. It turns out that p->mm can't be NULL so the inconsistency is > harmless and we should just remove the check. Commit 77ed2c5745d9 ("android,lowmemorykiller: Don't abuse TIF_MEMDIE.") replace

[patch] staging: lowmemorykiller: remove bogus NULL check

2016-04-08 Thread Dan Carpenter
The NULL checking here doesn't make sense, so it causes a static checker warning. It turns out that p->mm can't be NULL so the inconsistency is harmless and we should just remove the check. Signed-off-by: Dan Carpenter diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/an