From: Thomas Gleixner Date: Sat, 12 Mar 2011 12:47:18 +0000 (+0100) Subject: x86: ioapic: Avoid redundant lookup of irq_cfg X-Git-Tag: v2.6.39-rc1~503^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a0e62a49ad417712cfa79a395f6c39f67aadb44;p=pandora-kernel.git x86: ioapic: Avoid redundant lookup of irq_cfg 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 --- Reading git-diff-tree failed