Skip to contentSkip to conversation

bottom_half: remove local_bh_enable_ip

PATCH New Tio Zhang 1 participant 1 message Mar 14, 2024

lore
Share & tools
lore

Tio Zhang

author
#0 lore raw

PATCH 1/1 bottom_half: remove local_bh_enable_ip

Remove local_bh_enable_ip since there is no caller. We can refactor this when there is a first use-case.

---
 include/linux/bottom_half.h | 5 -----
 1 file changed, 5 deletions(-)
include/linux/bottom_half.h +0 -5
index fc53e0ad56d9..48df8e669bb3 100644
@@ -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);
Signature · 1 line
2.17.1