Staging: et131x: remove unused variable in et1310_tx.c
authorJohann Felix Soden <johfel@users.sourceforge.net>
Sat, 15 Nov 2008 19:44:39 +0000 (20:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:52:08 +0000 (13:52 -0800)
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>
drivers/staging/et131x/et1310_tx.c

index a95c2608a0c0d3e3c52fc4274caef51c56cfb32b..30eaac4c8707c64d3f0c2e424ce3b8a11af00436 100644 (file)
@@ -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;