diff options
| author | Viresh Kumar <[email protected]> | 2017-02-24 23:00:44 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-02-25 01:46:56 +0000 |
| commit | 3e6daded1f51b79ff851b6c1e4b192f47ea3d063 (patch) | |
| tree | fc122c167767f41c2a487a19b129f0f656d78dfc /tools/lib/find_bit.c | |
| parent | mm balloon: umount balloon_mnt when removing vb device (diff) | |
| download | kernel-3e6daded1f51b79ff851b6c1e4b192f47ea3d063.tar.gz kernel-3e6daded1f51b79ff851b6c1e4b192f47ea3d063.zip | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions
