summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-08-22 06:56:59 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 19:52:48 +0200
commitccf7a6d457a8bd618c77468c38842b3f9d82cef4 (patch)
treeceec72ac0266bab340909130d6c5ad490508e62f /virt
parentget_maintainer: allow option --mpath <directory> to read all files in <direct... (diff)
downloadlinux-ccf7a6d457a8bd618c77468c38842b3f9d82cef4.tar.xz
linux-ccf7a6d457a8bd618c77468c38842b3f9d82cef4.zip
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/20180531131914.44352-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Yury Norov <ynorov@caviumnetworks.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions