diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-06-29 08:57:27 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-06-29 08:57:27 +0000 |
commit | 9d6af600e1560d0722d204b606bfccde9f4adf9e (patch) | |
tree | 0b43e546a3f3cb11144fb18cea31f7eb7afd86c8 /target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c | |
parent | 01ac07c9b319a228684356f585b8a997492d6a7b (diff) | |
download | master-31e0f0ae-9d6af600e1560d0722d204b606bfccde9f4adf9e.tar.gz master-31e0f0ae-9d6af600e1560d0722d204b606bfccde9f4adf9e.tar.bz2 master-31e0f0ae-9d6af600e1560d0722d204b606bfccde9f4adf9e.zip |
ar71xx: remove useless irq_desc.status initializations
SVN-Revision: 27306
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c b/target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c index 5f10d6a652..1014acc8c3 100644 --- a/target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c +++ b/target/linux/ar71xx/files/arch/mips/pci/pci-ar71xx.c @@ -373,11 +373,9 @@ static void __init ar71xx_pci_irq_init(void) __raw_writel(0, base + AR71XX_RESET_REG_PCI_INT_STATUS); for (i = AR71XX_PCI_IRQ_BASE; - i < AR71XX_PCI_IRQ_BASE + AR71XX_PCI_IRQ_COUNT; i++) { - irq_desc[i].status = IRQ_DISABLED; + i < AR71XX_PCI_IRQ_BASE + AR71XX_PCI_IRQ_COUNT; i++) set_irq_chip_and_handler(i, &ar71xx_pci_irq_chip, handle_level_irq); - } set_irq_chained_handler(AR71XX_CPU_IRQ_IP2, ar71xx_pci_irq_handler); } |