diff options
author | Andy Shevchenko <[email protected]> | 2018-08-21 21:56:59 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-08-22 10:52:48 -0700 |
commit | ccf7a6d457a8bd618c77468c38842b3f9d82cef4 (patch) | |
tree | ceec72ac0266bab340909130d6c5ad490508e62f /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 0fbd75fd7feedd9e38fc1d3a01317aa23b83d29e (diff) |
lib/bitmap.c: drop unnecessary 0 check for u32 array operations
nbits == 0 is safe to be supplied to the function body, so remove
unnecessary checks in bitmap_to_arr32() and bitmap_from_arr32().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Yury Norov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions