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]>
Cc: [email protected]
---
lib/bitmap.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 4250519d7d1c..1b2546b81c95 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -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.
--
1.8.3.1
On Tue, Jan 21, 2020 at 04:34:01PM +0800, Alex Shi wrote:
> This macro isn't used after commit 4b060420a596 ("bitmap, irq: add
> smp_affinity_list interface 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()
--
With Best Regards,
Andy Shevchenko