lkml.org 
[lkml]   [2020]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: bitmap: Remove unused function declaration
(CC related people)

Since there is no actual implementation for them, there's , I think
it's safe (and better)
to remove the declarations. Thanks for the catch.

Acked-by: Yury Norov <yury.norov@gmail.com>

On Sun, Nov 15, 2020 at 7:17 PM Ma, Jianpeng <jianpeng.ma@intel.com> wrote:
>
> Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
> ---
> include/linux/bitmap.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
> index 99058eb81042..6f08965c69a5 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,
> --
> 2.28.0

\
 
 \ /
  Last update: 2020-11-16 05:03    [W:0.050 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site