diff options
author | Alan Cox <alan@linux.intel.com> | 2009-10-06 15:48:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 12:23:06 -0800 |
commit | 63841ad24775f1ac83c134b1e44d51fe19afbbb6 (patch) | |
tree | 266d4f3ae4330942982ae8c09a7f5b3dbfc6a5cb /drivers/staging/et131x | |
parent | b711b2e0fa6589f22ba53464bc1b49e4702eda5b (diff) | |
download | op-kernel-dev-63841ad24775f1ac83c134b1e44d51fe19afbbb6.zip op-kernel-dev-63841ad24775f1ac83c134b1e44d51fe19afbbb6.tar.gz |
Staging: et131x: the stuck descriptor copy is never used
Say goodbye to it
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x')
-rw-r--r-- | drivers/staging/et131x/et131x_netdev.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/et131x/et131x_netdev.c b/drivers/staging/et131x/et131x_netdev.c index 93dbed4..7c55f5d 100644 --- a/drivers/staging/et131x/et131x_netdev.c +++ b/drivers/staging/et131x/et131x_netdev.c @@ -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); |