irq: Remove return value from IRQ_CONNECT and IRQ_DIRECT_CONNECT
The return value of the interrupt is never used, so remove the functionality from the API. We ripple this change into the ARCH_IRQ_CONNECT and ARCH_IRQ_DIRECT_CONNECT implementations. With this change we can also remove the compound expression as that is not needed anymore. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
75b42d8a37
commit
44270b5c6e
10 changed files with 32 additions and 56 deletions
|
@ -44,8 +44,6 @@ extern "C" {
|
|||
* @param isr_p Address of interrupt service routine.
|
||||
* @param isr_param_p Parameter passed to interrupt service routine.
|
||||
* @param flags_p Architecture-specific IRQ configuration flags..
|
||||
*
|
||||
* @return Interrupt vector assigned to this interrupt.
|
||||
*/
|
||||
#define IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \
|
||||
ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
|
||||
|
@ -109,8 +107,6 @@ irq_connect_dynamic(unsigned int irq, unsigned int priority,
|
|||
* @param priority_p Interrupt priority.
|
||||
* @param isr_p Address of interrupt service routine.
|
||||
* @param flags_p Architecture-specific IRQ configuration flags.
|
||||
*
|
||||
* @return Interrupt vector assigned to this interrupt.
|
||||
*/
|
||||
#define IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \
|
||||
ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue