diff options
author | Johann Felix Soden <johfel@users.sourceforge.net> | 2008-11-15 20:44:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:08 -0800 |
commit | 4eb0068b065a88a5fb8b77e97f6f6b992c7d544c (patch) | |
tree | 2f631bf141df0a750711a8fa77039f55c89e608a | |
parent | 1352b4b07fae399ae5741a9b6f155420e76a2b00 (diff) |
Staging: et131x: remove unused variable in et1310_tx.c
The 'pPacket' variable is assigned, but never used. Remove it.
Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/et131x/et1310_tx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/et131x/et1310_tx.c b/drivers/staging/et131x/et1310_tx.c index a95c2608a0c..30eaac4c870 100644 --- a/drivers/staging/et131x/et1310_tx.c +++ b/drivers/staging/et131x/et1310_tx.c @@ -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; |