aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/davicom
diff options
context:
space:
mode:
authorAndrew Ruder <andrew.ruder@elecsyscorp.com>2014-06-04 17:28:47 -0500
committerDavid S. Miller <davem@davemloft.net>2014-06-05 15:12:10 -0700
commit36259012a4ba34d70d4fe0e8533980919e8b6024 (patch)
treea5fe4d2ce738835db5e3d1968652eb7c0bc9e3df /drivers/net/ethernet/davicom
parentdm9000: clean up edge-triggered irq compatibility (diff)
downloadlinux-dev-36259012a4ba34d70d4fe0e8533980919e8b6024.tar.xz
linux-dev-36259012a4ba34d70d4fe0e8533980919e8b6024.zip
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: Andrew Ruder <andrew.ruder@elecsyscorp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/davicom')
-rw-r--r--drivers/net/ethernet/davicom/dm9000.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c
index a34f9fcc3992..a86755f7824e 100644
--- a/drivers/net/ethernet/davicom/dm9000.c
+++ b/drivers/net/ethernet/davicom/dm9000.c
@@ -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;
}