Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Johann Felix Soden and committed by
Greg Kroah-Hartman
4eb0068b 1352b4b0

-3
-3
drivers/staging/et131x/et1310_tx.c
··· 1345 1345 { 1346 1346 PMP_TCB pMpTcb; 1347 1347 struct list_head *pEntry; 1348 - struct sk_buff *pPacket = NULL; 1349 1348 unsigned long lockflags; 1350 1349 uint32_t FreeCounter = 0; 1351 1350 ··· 1357 1358 spin_unlock_irqrestore(&pAdapter->SendWaitLock, lockflags); 1358 1359 1359 1360 pEntry = pAdapter->TxRing.SendWaitQueue.next; 1360 - 1361 - pPacket = NULL; 1362 1361 } 1363 1362 1364 1363 pAdapter->TxRing.nWaitSend = 0;