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 <[email protected]>
---
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