From: Michael Ellerman Date: Mon, 19 Jan 2009 06:06:42 +0000 (+1100) Subject: x86: Remove never-called arch_setup_msi_irq() X-Git-Tag: v2.6.30-rc1~2^2~50^2~39^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422e79a8b39d9ac73e410dc3cd099aecea82afd2;p=pandora-kernel.git x86: Remove never-called arch_setup_msi_irq() Since commit 75c46fa, "x64, x2apic/intr-remap: MSI and MSI-X support for interrupt remapping infrastructure", x86 has had an implementation of arch_setup_msi_irqs(). That implementation does not call arch_setup_msi_irq(), instead it calls setup_irq(). No other x86 code calls arch_setup_msi_irq(). That leaves only arch_setup_msi_irqs() in drivers/pci/msi.c, but that routine is overridden by the x86 version of arch_setup_msi_irqs(). So arch_setup_msi_irq() is dead code, remove it. Signed-off-by: Michael Ellerman Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed