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
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
2 matches
Mail list logo