Yury Norov
2afe27c718
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>
2015-04-17 09:03:56 -04:00
..
2015-03-25 15:04:57 +01:00
2015-01-14 16:10:12 +00:00
2015-02-04 08:35:51 +11:00
2015-04-17 09:03:56 -04:00
2015-01-29 11:57:38 -08:00
2015-03-06 23:19:27 +01:00
2015-04-17 09:03:54 -04:00
2015-02-10 18:57:15 -08:00
2015-02-12 18:54:15 -08:00
2015-04-17 09:03:54 -04:00
2015-04-17 09:03:53 -04:00
2015-02-13 21:21:35 -08:00
2015-02-13 21:21:36 -08:00
2015-02-12 18:54:15 -08:00
2015-02-12 18:54:15 -08:00
2015-02-12 18:54:15 -08:00
2015-02-12 18:54:15 -08:00
2015-04-14 16:49:04 -07:00
2015-04-11 22:26:51 -04:00
2015-02-19 10:36:45 -08:00
2015-04-14 16:49:17 -07:00
2015-02-13 21:21:42 -08:00
2015-02-12 18:54:15 -08:00
2015-03-25 15:26:49 +01:00
2015-03-31 09:45:50 -06:00
2015-02-12 18:54:15 -08:00
2015-02-12 18:54:15 -08:00
2015-02-24 08:44:16 +01:00
2015-04-15 16:35:25 -07:00
2015-04-17 09:03:54 -04:00
2015-02-12 18:54:15 -08:00
2015-03-31 14:07:24 -04:00
2015-01-21 16:28:49 +10:30
2015-02-12 18:54:16 -08:00
2015-02-12 18:54:16 -08:00
2015-02-12 18:54:16 -08:00
2015-03-25 17:18:33 +01:00
2015-03-04 23:40:19 -05:00
2015-03-23 22:12:08 -04:00
2015-02-12 18:54:16 -08:00
2015-02-12 18:54:16 -08:00
2015-02-12 18:54:16 -08:00
2015-04-15 16:35:24 -07:00
2015-03-20 07:56:12 +11:00
2015-02-12 18:54:16 -08:00
2015-02-13 21:21:41 -08:00
2015-04-03 15:09:36 -04:00
2015-04-15 16:35:22 -07:00
2015-04-15 16:35:24 -07:00
2015-04-17 09:03:55 -04:00