projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b711b2e
)
Staging: et131x: the stuck descriptor copy is never used
author
Alan Cox
<alan@linux.intel.com>
Tue, 6 Oct 2009 14:48:42 +0000
(15:48 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 11 Dec 2009 20:23:06 +0000
(12:23 -0800)
Say goodbye to it
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et131x_netdev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/et131x/et131x_netdev.c
b/drivers/staging/et131x/et131x_netdev.c
index 93dbed47c2e8e7552d5ae0eadeb6a7fa3ea14614..7c55f5d52d5c8dbfee67ac9307120e70f9a617ac 100644
(file)
--- 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);