[<prev] [next>] [day] [month] [year] [list]
Message-Id: <64216833c030bd0a5c26c5772511a677de15b11e.1401920694.git.andrew.ruder@elecsyscorp.com>
Date: Wed, 4 Jun 2014 17:28:47 -0500
From: Andrew Ruder <andrew.ruder@...csyscorp.com>
To: netdev@...r.kernel.org
Cc: Andrew Ruder <andrew.ruder@...csyscorp.com>,
Joseph CHANG <josright123@...il.com>
Subject: [PATCH 4/6] 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@...csyscorp.com>
---
drivers/net/ethernet/davicom/dm9000.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c
index c508a33..d1a5b2f 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;
}
--
1.9.0.rc3.12.gbc97e2d
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists