Skip to content

Commit

Permalink
genirq: Remove __irq_set_handler_locked()
Browse files Browse the repository at this point in the history
All users converted to irq_set_handler_locked()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Sep 16, 2015
1 parent 7c51173 commit 123236c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/linux/irqdesc.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,6 @@ static inline int irq_has_action(unsigned int irq)
return irq_desc_has_action(irq_to_desc(irq));
}

/* caller has locked the irq_desc and both params are valid */
static inline void __irq_set_handler_locked(unsigned int irq,
irq_flow_handler_t handler)
{
struct irq_desc *desc;

desc = irq_to_desc(irq);
desc->handle_irq = handler;
}

/**
* irq_set_handler_locked - Set irq handler from a locked region
* @data: Pointer to the irq_data structure which identifies the irq
Expand Down

0 comments on commit 123236c

Please sign in to comment.