Removed an IF block from the PCnet code.

This commit is contained in:
OBattler
2020-04-30 03:22:20 +02:00
parent 9dc0df4149
commit dc03eeedf2

View File

@@ -940,11 +940,8 @@ pcnetUpdateIrq(nic_t *dev)
pcnetlog(2, "%s: pcnetUpdateIrq: iISR=%d\n", dev->name, iISR);
/* normal path is to _not_ change the IRQ status */
if (iISR != dev->iISR) {
pcnet_do_irq(dev, iISR);
dev->iISR = iISR;
}
pcnet_do_irq(dev, iISR);
dev->iISR = iISR;
}