lib/bitmap: remove unused macro BASEDEC
Subsystems (2)
PATCH 1/1 lib/bitmap: remove unused macro BASEDEC
This macro isn't used after commit 4b060420a596 ("bitmap, irq: add smp_affinity_list interface to /proc/irq"). better to remove it.
Signed-off-by Alex Shi <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Rasmus Villemoes <[email protected]>
Cc Yury Norov <[email protected]>
Cc Thomas Gleixner <[email protected]>
--- lib/bitmap.c | 1 - 1 file changed, 1 deletion(-)
lib/bitmap.c +0 -1
@@ -367,7 +367,6 @@ unsigned long bitmap_find_next_zero_area_off(unsigned long *map,#define CHUNKSZ 32#define nbits_to_hold_value (val) fls(val) -#define BASEDEC 10/* fancier cpuset lists input in decimal */ /** * __bitmap_parse - convert an ASCII hex string into a bitmap.
Signature · 1 line
1.8.3.1
Quoted 2 lines · Alex Shi
This macro isn't used after commit
4b060420a596("bitmap, irq: addsmp_affinity_listinterface to/proc/irq"). better to remove it.
Isn't it already done in linux-next?
commit c2c67926dda7c0fd85faa81cd08976a583218b7d
Author: Yury Norov <[email protected]> Date: Wed Jan 15 14:36:23 2020 +1100
lib: rework bitmap_parse()
Signature · 2 lines
With Best Regards, Andy Shevchenko