Skip to content

Commit

Permalink
Staging: et131x: remove unused variable in et1310_tx.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johann Felix Soden authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 1352b4b commit 4eb0068
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/et131x/et1310_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand Down

0 comments on commit 4eb0068

Please sign in to comment.