x86: ioapic: Avoid redundant lookup of irq_cfg
authorThomas Gleixner <tglx@linutronix.de>
Sat, 12 Mar 2011 12:47:18 +0000 (13:47 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 12 Mar 2011 13:12:01 +0000 (14:12 +0100)
The caller of ioapic_register_intr() has a pointer to the irq_cfg for
the irq already. Hand it in to avoid a full lookup.

In msi_compose_msg() the pointer to irq_cfg is already available. No
need to look it up again.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found