summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYury Norov <ynorov@nvidia.com>2026-07-19 08:27:27 -0400
committerYury Norov <ynorov@nvidia.com>2026-07-22 15:38:38 -0400
commitae44a037ac03d7f8bc8a17da02163c7f5c63bf50 (patch)
tree187f21a667a3fdf9362105189bee8b2f12e71e86 /include/linux
parentc4f392a35c4f39ebb2c83979361b01521bc9a82e (diff)
bitmap: drop bitmap_next_set_region()
The function is a dead code. Drop it. Signed-off-by: Yury Norov <ynorov@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/bitmap.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index 8854acf77869..a967e1f7542b 100644
--- a/include/linux/bitmap.h
+++ b/include/linux/bitmap.h
@@ -697,14 +697,6 @@ void bitmap_gather(unsigned long *dst, const unsigned long *src,
__assign_bit(n++, dst, test_bit(bit, src));
}
-static __always_inline
-void bitmap_next_set_region(unsigned long *bitmap, unsigned int *rs,
- unsigned int *re, unsigned int end)
-{
- *rs = find_next_bit(bitmap, end, *rs);
- *re = find_next_zero_bit(bitmap, end, *rs + 1);
-}
-
/**
* bitmap_release_region - release allocated bitmap region
* @bitmap: array of unsigned longs corresponding to the bitmap