mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Shi <alex.shi@linux.alibaba.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>,
	Yury Norov <yury.norov@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] lib/bitmap: remove unused macro BASEDEC
Date: Tue, 21 Jan 2020 16:34:01 +0800	[thread overview]
Message-ID: <1579595641-251181-1-git-send-email-alex.shi@linux.alibaba.com> (raw)

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


             reply	other threads:[~2020-01-21  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-21  8:34 Alex Shi [this message]
2020-01-21 13:18 ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1579595641-251181-1-git-send-email-alex.shi@linux.alibaba.com \
    --to=alex.shi@linux.alibaba.com \
    --cc=akpm@linux-foundation.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=tglx@linutronix.de \
    --cc=yury.norov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®