Home
last modified time | relevance | path

Searched hist:"3 e6daded1f51b79ff851b6c1e4b192f47ea3d063" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/
H A Dnotifier.cdiff 3e6daded1f51b79ff851b6c1e4b192f47ea3d063 Fri Feb 24 17:00:44 CST 2017 Viresh Kumar <viresh.kumar@linaro.org> kernel/notifier.c: simplify expression

NOTIFY_STOP_MASK (0x8000) has only one bit set and there is no need to
compare output of "ret & NOTIFY_STOP_MASK" to NOTIFY_STOP_MASK. We just
need to make sure the output is non-zero, that's it.

Link: http://lkml.kernel.org/r/88ee58264a2bfab1c97ffc8ac753e25f55f57c10.1483593065.git.viresh.kumar@linaro.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>