summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2015-04-16 22:44:00 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 16:03:56 +0300
commit2afe27c718b669b551895595873611ac39cc31e3 (patch)
tree69c4b547b6dc2332514757c7a93e2fce1c6692ff /firmware
parentd48502eacd8934b79c3e62f7858c79fa6422398b (diff)
downloadlinux-2afe27c718b669b551895595873611ac39cc31e3.tar.xz
lib/bitmap.c: bitmap_[empty,full]: remove code duplication
bitmap_empty() has its own implementation. But it's clearly as simple as: find_first_bit(src, nbits) == nbits The same is true for 'bitmap_full'. Signed-off-by: Yury Norov <yury.norov@gmail.com> Cc: George Spelvin <linux@horizon.com> Cc: Alexey Klimov <klimov.linux@gmail.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions