mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] genirq: cleanup: remove irq_descp()
Cleanup: remove irq_descp() - explicit use of irq_desc[] is shorter and more readable. Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a53da52fd7
commit
a8553acd6c
9 changed files with 16 additions and 23 deletions
|
|
@ -15,7 +15,7 @@ void set_pending_irq(unsigned int irq, cpumask_t mask)
|
|||
void move_native_irq(int irq)
|
||||
{
|
||||
cpumask_t tmp;
|
||||
irq_desc_t *desc = irq_descp(irq);
|
||||
irq_desc_t *desc = irq_desc + irq;
|
||||
|
||||
if (likely(!desc->move_irq))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue