summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2006-10-10 16:15:29 -0500
committerJeff Garzik <jeff@garzik.org>2006-10-11 04:04:26 -0400
commit499eea18722e43f0ee15e11ac16ffcbd10b70b24 (patch)
treeec34ee9afd0759166a7f426222df3ccbedb4c4bb /drivers/net
parent9cc7bf7edf50a8a6b456b337aff97fe780ae369b (diff)
downloadop-kernel-dev-499eea18722e43f0ee15e11ac16ffcbd10b70b24.zip
op-kernel-dev-499eea18722e43f0ee15e11ac16ffcbd10b70b24.tar.gz
[PATCH] powerpc/cell spidernet
Remove a dummy register read that is not needed. This reduces CPU usage notably during transmit. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: James K Lewis <jklewis@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/spider_net.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index f8d7d0d..6bb8f1f 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -759,8 +759,6 @@ spider_net_release_tx_chain(struct spider_net_card *card, int brutal)
unsigned long flags;
int status;
- spider_net_read_reg(card, SPIDER_NET_GDTDMACCNTR);
-
while (chain->tail != chain->head) {
spin_lock_irqsave(&chain->lock, flags);
descr = chain->tail;
OpenPOWER on IntegriCloud