From: Linas Vepstas Date: Tue, 10 Oct 2006 21:15:29 +0000 (-0500) Subject: [PATCH] powerpc/cell spidernet X-Git-Tag: v2.6.19-rc2~23^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=499eea18722e43f0ee15e11ac16ffcbd10b70b24;p=linux-2.6-omap-h63xx.git [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 Cc: Arnd Bergmann Cc: James K Lewis Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index f8d7d0d91a6..6bb8f1f9437 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;