pci: Remove extra bus_generic_teardown_intr
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 25 Dec 2011 14:02:23 +0000 (22:02 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 27 Dec 2011 05:44:42 +0000 (13:44 +0800)
This is the left over of 79af06ab6b5a6581a07d0a6bc0735f6aa82a7947

sys/bus/pci/pci.c

index 5739518..5b26a0c 100644 (file)
@@ -3306,7 +3306,6 @@ pci_teardown_intr(device_t dev, device_t child, struct resource *irq,
        if (rid > 0)
                KASSERT(error == 0,
                    ("%s: generic teardown failed for MSI/MSI-X", __func__));
-       error = bus_generic_teardown_intr(dev, child, irq, cookie);
        return (error);
 }