[PATCH 2.4.29] arch/i386/kernel/pci-irq.c - Remove redundant check

2005-02-02 Thread Mark F. Haigh
In arch/i386/kernel/pci-irq.c:pcibios_enable_irq(), there is a redundant check: if (pin && !pcibios_lookup_irq(dev, 1) && !dev->irq) { /* ... */ if (pin) { We don't need the second 'if (pin)', as we already know it's nonzero from the first check. Also note that this fixes

[PATCH 2.4.29] arch/i386/kernel/pci-irq.c - Remove redundant check

2005-02-02 Thread Mark F. Haigh
In arch/i386/kernel/pci-irq.c:pcibios_enable_irq(), there is a redundant check: if (pin !pcibios_lookup_irq(dev, 1) !dev-irq) { /* ... */ if (pin) { We don't need the second 'if (pin)', as we already know it's nonzero from the first check. Also note that this fixes the