Skip to content

Commit 1043612

Browse files
committed
genirq: Remove irq_[get|put]_desc*()
All users are converted to the guards. Remove the helpers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/all/20250429065422.729586582@linutronix.de
1 parent 193879e commit 1043612

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

kernel/irq/internals.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -191,30 +191,6 @@ static inline class_irqdesc_lock_t class_irqdesc_lock_constructor(unsigned int i
191191

192192
#define scoped_irqdesc ((struct irq_desc *)(__guard_ptr(irqdesc_lock)(&scope)))
193193

194-
static inline struct irq_desc *
195-
irq_get_desc_buslock(unsigned int irq, unsigned long *flags, unsigned int check)
196-
{
197-
return __irq_get_desc_lock(irq, flags, true, check);
198-
}
199-
200-
static inline void
201-
irq_put_desc_busunlock(struct irq_desc *desc, unsigned long flags)
202-
{
203-
__irq_put_desc_unlock(desc, flags, true);
204-
}
205-
206-
static inline struct irq_desc *
207-
irq_get_desc_lock(unsigned int irq, unsigned long *flags, unsigned int check)
208-
{
209-
return __irq_get_desc_lock(irq, flags, false, check);
210-
}
211-
212-
static inline void
213-
irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags)
214-
{
215-
__irq_put_desc_unlock(desc, flags, false);
216-
}
217-
218194
#define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors)
219195

220196
static inline unsigned int irqd_get(struct irq_data *d)

0 commit comments

Comments
 (0)