From: Tio Zhang <tiozhang@didiglobal.com>
To: <akpm@linux-foundation.org>, <peterz@infradead.org>,
<tglx@linutronix.de>
Cc: <linux-kernel@vger.kernel.org>, <zyhtheonly@gmail.com>,
<tiozhang@didiglobal.com>, <zyhtheonly@yeah.net>
Subject: [PATCH] bottom_half: remove local_bh_enable_ip
Date: Thu, 14 Mar 2024 19:26:53 +0800 [thread overview]
Message-ID: <20240314112653.GA8027@didi-ThinkCentre-M930t-N000> (raw)
Remove local_bh_enable_ip since there is no caller.
We can refactor this when there is a first use-case.
Signed-off-by: Tio Zhang <tiozhang@didiglobal.com>
---
include/linux/bottom_half.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/linux/bottom_half.h b/include/linux/bottom_half.h
index fc53e0ad56d9..48df8e669bb3 100644
--- a/include/linux/bottom_half.h
+++ b/include/linux/bottom_half.h
@@ -23,11 +23,6 @@ static inline void local_bh_disable(void)
extern void _local_bh_enable(void);
extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt);
-static inline void local_bh_enable_ip(unsigned long ip)
-{
- __local_bh_enable_ip(ip, SOFTIRQ_DISABLE_OFFSET);
-}
-
static inline void local_bh_enable(void)
{
__local_bh_enable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET);
--
2.17.1
reply other threads:[~2024-03-14 11:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20240314112653.GA8027@didi-ThinkCentre-M930t-N000 \
--to=tiozhang@didiglobal.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=zyhtheonly@gmail.com \
--cc=zyhtheonly@yeah.net \
/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®