* [PATCH] Staging: et131x: remove unused variable in et1310_tx.c
@ 2008-11-15 19:44 Johann Felix Soden
0 siblings, 0 replies; only message in thread
From: Johann Felix Soden @ 2008-11-15 19:44 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel
From: Johann Felix Soden <johfel@users.sourceforge.net>
The 'pPacket' variable is assigned, but never used. Remove it.
Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
---
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 a95c260..30eaac4 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;
--
1.5.6.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-15 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-15 19:44 [PATCH] Staging: et131x: remove unused variable in et1310_tx.c Johann Felix Soden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox