staging: lowmemorykiller: remove bogus NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Apr 2016 13:02:35 +0000 (16:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 00:58:02 +0000 (17:58 -0700)
commitae25d43c5910ab58bfc6e66a6e9a90d853c5b1cf
tree94c914f3ff3d2956b016b509bdc4637b60152e98
parent6ffdc7b95474d572f67b0c198cd7a08d8f5e5ff6
staging: lowmemorykiller: remove bogus NULL check

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 <dan.carpenter@oracle.com>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/lowmemorykiller.c