mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] bottom_half: remove local_bh_enable_ip
@ 2024-03-14 11:26 Tio Zhang
  0 siblings, 0 replies; only message in thread
From: Tio Zhang @ 2024-03-14 11:26 UTC (permalink / raw)
  To: akpm, peterz, tglx; +Cc: linux-kernel, zyhtheonly, tiozhang, zyhtheonly

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-14 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-14 11:26 [PATCH] bottom_half: remove local_bh_enable_ip Tio Zhang

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®