Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36259012 authored by Andrew Ruder's avatar Andrew Ruder Committed by David S. Miller
Browse files

dm9000: remove redundant ISR status clear



Since dm9000_interrupt() is already reading/clearing every set bit in
DM9000_ISR, this additional clear in dm9000_rx() (which is only called
by dm9000_interrupt()) is unnecessary and can be removed.

Signed-off-by: default avatarAndrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 17ad78de
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1105,7 +1105,6 @@ dm9000_rx(struct net_device *dev)
		if (rxbyte & DM9000_PKT_ERR) {
			dev_warn(db->dev, "status check fail: %d\n", rxbyte);
			iow(db, DM9000_RCR, 0x00);	/* Stop Device */
			iow(db, DM9000_ISR, IMR_PAR);	/* Stop INT request */
			return;
		}