提交 499eea18 编写于 作者: L Linas Vepstas 提交者: 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: NLinas Vepstas <linas@austin.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: James K Lewis <jklewis@us.ibm.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 9cc7bf7e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册