diff options
author | Ma, Jianpeng <jianpeng.ma@intel.com> | 2020-12-16 05:42:57 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-16 07:46:16 +0100 |
commit | ab7d7798dad5aae23bb502f1a6fc0d637b07dc47 (patch) | |
tree | 19ef91bb626119e3192404d89957077c43aca530 | |
parent | include/linux/bitmap.h: convert bitmap_empty() / bitmap_full() to return boolean (diff) | |
download | linux-ab7d7798dad5aae23bb502f1a6fc0d637b07dc47.tar.xz linux-ab7d7798dad5aae23bb502f1a6fc0d637b07dc47.zip |
bitmap: remove unused function declaration
Link: https://lkml.kernel.org/r/BN7PR11MB26097166B6B46387D8A1ABA4FDE30@BN7PR11MB2609.namprd11.prod.outlook.com
Fixes: 2afe27c718b6 ("lib/bitmap.c: bitmap_[empty,full]: remove code duplication")
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Acked-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/bitmap.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index 719fe036f567..70a932470b2d 100644 --- a/include/linux/bitmap.h +++ b/include/linux/bitmap.h @@ -126,8 +126,6 @@ extern void bitmap_free(const unsigned long *bitmap); * lib/bitmap.c provides these functions: */ -extern int __bitmap_empty(const unsigned long *bitmap, unsigned int nbits); -extern int __bitmap_full(const unsigned long *bitmap, unsigned int nbits); extern int __bitmap_equal(const unsigned long *bitmap1, const unsigned long *bitmap2, unsigned int nbits); extern bool __pure __bitmap_or_equal(const unsigned long *src1, |