Skip to content

Commit

Permalink
lockdep: Remove disable_irq_lockdep()
Browse files Browse the repository at this point in the history
disable_irq_lockdep() has no users, last one was probabaly removed in
   0b7c874 ("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
  • Loading branch information
Sebastian Andrzej Siewior authored and Peter Zijlstra committed Mar 14, 2025
1 parent 87886b3 commit 35e6b53
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/linux/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 35e6b53

Please sign in to comment.