[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 <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
a53da52fd7
commit
a8553acd6c
@@ -190,7 +190,7 @@ void default_machine_crash_shutdown(struct pt_regs *regs)
|
||||
local_irq_disable();
|
||||
|
||||
for_each_irq(irq) {
|
||||
struct irq_desc *desc = irq_descp(irq);
|
||||
struct irq_desc *desc = irq_desc + irq;
|
||||
|
||||
if (desc->status & IRQ_INPROGRESS)
|
||||
desc->chip->end(irq);
|
||||
|
Reference in New Issue
Block a user