From dc03eeedf2a349e721fe8370a3943bc7a5f650bf Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 30 Apr 2020 03:22:20 +0200 Subject: [PATCH] Removed an IF block from the PCnet code. --- src/network/net_pcnet.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/network/net_pcnet.c b/src/network/net_pcnet.c index 94a069013..5b9ea8dc6 100644 --- a/src/network/net_pcnet.c +++ b/src/network/net_pcnet.c @@ -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; }