diff options
| author | Yury Norov <yury.norov@gmail.com> | 2015-04-16 12:44:00 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:59:37 +0200 |
| commit | aeecbe64ee89f4b70108e3287071f6c27ea5db09 (patch) | |
| tree | 21af0edfb37054a64970475ed5875a440bc02de7 /include/linux/exportfs.h | |
| parent | 9f94f0a11d476b3a9c02e3d78681de9a0d763ea4 (diff) | |
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 'include/linux/exportfs.h')
0 files changed, 0 insertions, 0 deletions
