summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMa, Jianpeng <jianpeng.ma@intel.com>2020-12-16 07:42:57 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-16 09:46:16 +0300
commitab7d7798dad5aae23bb502f1a6fc0d637b07dc47 (patch)
tree19ef91bb626119e3192404d89957077c43aca530
parent0bb867795540a9223d44ddcdf478330cba5917f8 (diff)
downloadlinux-ab7d7798dad5aae23bb502f1a6fc0d637b07dc47.tar.xz
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.h2
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,