diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-08-17 19:20:54 +0300 |
---|---|---|
committer | Yury Norov <yury.norov@gmail.com> | 2023-10-15 06:25:22 +0300 |
commit | 7733aa893847f021c674d0d30b723d892109369d (patch) | |
tree | 3e5024871c441cd87cac381d99cc84371639c19b /include/linux | |
parent | 8ed13a762ca0661e4df16ce5eba929e73f4bd8f6 (diff) | |
download | linux-7733aa893847f021c674d0d30b723d892109369d.tar.xz |
bitmap: Remove dead code, i.e. bitmap_copy_le()
Besides the fact it's not used anywhere it should be implemented
differently, i.e. via helpers from linux/byteorder/generic.h.
Yet the helpers themselves need to be introduced first.
Also note, the function lacks of the test cases, they must be provided.
Hence, drop the current dead code for good.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/bitmap.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index 03644237e1ef..1516ff979315 100644 --- a/include/linux/bitmap.h +++ b/include/linux/bitmap.h @@ -220,11 +220,6 @@ int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order); int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order); -#ifdef __BIG_ENDIAN -void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits); -#else -#define bitmap_copy_le bitmap_copy -#endif int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits); |