Commit 63841ad2 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

Staging: et131x: the stuck descriptor copy is never used

Say goodbye to it
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b711b2e0
......@@ -547,15 +547,6 @@ void et131x_tx_timeout(struct net_device *netdev)
tcb->Count++;
if (tcb->Count > NIC_SEND_HANG_THRESHOLD) {
struct tx_desc stuck[10];
if (INDEX10(tcb->WrIndex) > 7) {
memcpy(stuck,
etdev->tx_ring.tx_desc_ring +
INDEX10(tcb->WrIndex) - 6,
sizeof(struct tx_desc) * 10);
}
spin_unlock_irqrestore(&etdev->TCBSendQLock,
flags);
......
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