Commit 499eea18 authored by Linas Vepstas's avatar Linas Vepstas Committed by Jeff Garzik

[PATCH] powerpc/cell spidernet

Remove a dummy register read that is not needed.
This reduces CPU usage notably during transmit.
Signed-off-by: default avatarLinas Vepstas <linas@austin.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: James K Lewis <jklewis@us.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 9cc7bf7e
...@@ -759,8 +759,6 @@ spider_net_release_tx_chain(struct spider_net_card *card, int brutal) ...@@ -759,8 +759,6 @@ spider_net_release_tx_chain(struct spider_net_card *card, int brutal)
unsigned long flags; unsigned long flags;
int status; int status;
spider_net_read_reg(card, SPIDER_NET_GDTDMACCNTR);
while (chain->tail != chain->head) { while (chain->tail != chain->head) {
spin_lock_irqsave(&chain->lock, flags); spin_lock_irqsave(&chain->lock, flags);
descr = chain->tail; descr = chain->tail;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment