mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
lockdep: Remove disable_irq_lockdep()
disable_irq_lockdep() has no users, last one was probabaly removed in
0b7c874348 ("forcedeth: fix unilateral interrupt disabling in netpoll path")
Remove disable_irq_lockdep().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250212103619.2560503-3-bigeasy@linutronix.de
This commit is contained in:
committed by
Peter Zijlstra
parent
87886b32d6
commit
35e6b537af
@@ -461,14 +461,6 @@ static inline void disable_irq_nosync_lockdep_irqsave(unsigned int irq, unsigned
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void disable_irq_lockdep(unsigned int irq)
|
||||
{
|
||||
disable_irq(irq);
|
||||
#ifdef CONFIG_LOCKDEP
|
||||
local_irq_disable();
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void enable_irq_lockdep(unsigned int irq)
|
||||
{
|
||||
#if defined(CONFIG_LOCKDEP) && !defined(CONFIG_PREEMPT_RT)
|
||||
|
||||
Reference in New Issue
Block a user