aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-06-06 06:32:59 -0400
committerLennert Buytenhek <buytenh@marvell.com>2008-06-22 16:44:47 -0400
commitb206ed0462b7112d07bb9f245bf49f5e95ff174a (patch)
tree05113a578147d0614b51ba22984b78ed6b3c6631
parent19cfd5c09f780ac870fd9d89201c4ebc0b22be81 (diff)
[ARM] Orion: remove error printks in ->map_irq() implementations
If all PCI devices are working as expected, the error printks in the various implementations of ->map_irq() doesn't really provide any useful info. And if something is not working as expected, turning on pci=debug gives you more useful information than the printk calls in ->map_irq(), since the former also tells you which devices _did_ get IRQs successfully assigned. Therefore, delete these printks entirely. Spotted by Russell King. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Acked-by: Russell King <linux@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-orion5x/dns323-setup.c2
-rw-r--r--arch/arm/mach-orion5x/kurobox_pro-setup.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c
index 05ce66048741..ad810aa5fff5 100644
--- a/arch/arm/mach-orion5x/dns323-setup.c
+++ b/arch/arm/mach-orion5x/dns323-setup.c
@@ -53,8 +53,6 @@ static int __init dns323_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
53 if (irq != -1) 53 if (irq != -1)
54 return irq; 54 return irq;
55 55
56 pr_err("%s: requested mapping for unknown device\n", __func__);
57
58 return -1; 56 return -1;
59} 57}
60 58
diff --git a/arch/arm/mach-orion5x/kurobox_pro-setup.c b/arch/arm/mach-orion5x/kurobox_pro-setup.c
index f0997a7ba6d2..b8414f6e0e83 100644
--- a/arch/arm/mach-orion5x/kurobox_pro-setup.c
+++ b/arch/arm/mach-orion5x/kurobox_pro-setup.c
@@ -131,8 +131,6 @@ static int __init kurobox_pro_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
131 /* 131 /*
132 * PCI isn't used on the Kuro 132 * PCI isn't used on the Kuro
133 */ 133 */
134 printk(KERN_ERR "kurobox_pro_pci_map_irq failed, unknown bus\n");
135
136 return -1; 134 return -1;
137} 135}
138 136