diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2006-10-10 21:15:29 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-10-11 08:04:26 (GMT) |
commit | 499eea18722e43f0ee15e11ac16ffcbd10b70b24 (patch) | |
tree | ec34ee9afd0759166a7f426222df3ccbedb4c4bb /drivers/net/spider_net.c | |
parent | 9cc7bf7edf50a8a6b456b337aff97fe780ae369b (diff) | |
download | linux-499eea18722e43f0ee15e11ac16ffcbd10b70b24.tar.xz |
[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/spider_net.c')
-rw-r--r-- | drivers/net/spider_net.c | 2 |
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; |