* [PATCH] lib/bitmap: remove unused macro BASEDEC
@ 2020-01-21 8:34 Alex Shi
2020-01-21 13:18 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Alex Shi @ 2020-01-21 8:34 UTC (permalink / raw)
Cc: Andrew Morton, Andy Shevchenko, Rasmus Villemoes, Yury Norov,
Thomas Gleixner, linux-kernel
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 <alex.shi@linux.alibaba.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Yury Norov <yury.norov@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] lib/bitmap: remove unused macro BASEDEC
2020-01-21 8:34 [PATCH] lib/bitmap: remove unused macro BASEDEC Alex Shi
@ 2020-01-21 13:18 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2020-01-21 13:18 UTC (permalink / raw)
To: Alex Shi
Cc: Andrew Morton, Rasmus Villemoes, Yury Norov, Thomas Gleixner,
linux-kernel
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 <yury.norov@gmail.com>
Date: Wed Jan 15 14:36:23 2020 +1100
lib: rework bitmap_parse()
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-21 13:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 8:34 [PATCH] lib/bitmap: remove unused macro BASEDEC Alex Shi
2020-01-21 13:18 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).