]> err.no Git - linux-2.6/commitdiff
[PATCH] powerpc/cell spidernet
authorLinas Vepstas <linas@austin.ibm.com>
Tue, 10 Oct 2006 21:15:29 +0000 (16:15 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 11 Oct 2006 08:04:26 +0000 (04:04 -0400)
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>
drivers/net/spider_net.c

index f8d7d0d91a6dca9251bbb2a256408924d4b9005c..6bb8f1f9437c48fa7e3b09b6995d15b3acbf69d3 100644 (file)
@@ -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;