Skip to contentSkip to conversation

Staging: et131x: remove unused variable in et1310_tx.c

PATCH New Johann Felix Soden 1 participant 1 message Nov 15, 2008 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: et131x: remove unused variable in et1310_tx.c

From: Johann Felix Soden <[email protected]>

The 'pPacket' variable is assigned, but never used. Remove it.

---
 drivers/staging/et131x/et1310_tx.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/staging/et131x/et1310_tx.c +0 -3
index a95c260..30eaac4 100644
@@ -1345,7 +1345,6 @@ void et131x_free_busy_send_packets(struct et131x_adapter *pAdapter)
 {
 	PMP_TCB pMpTcb;
 	struct list_head *pEntry;
-	struct sk_buff *pPacket = NULL;
 	unsigned long lockflags;
 	uint32_t FreeCounter = 0;
 
@@ -1358,8 +1357,6 @@ void et131x_free_busy_send_packets(struct et131x_adapter *pAdapter)
 		spin_unlock_irqrestore(&pAdapter->SendWaitLock, lockflags);
 
 		pEntry = pAdapter->TxRing.SendWaitQueue.next;
-
-		pPacket = NULL;
 	}
 
 	pAdapter->TxRing.nWaitSend = 0;
Signature · 1 line
1.5.6.5