Commit 07bc8398 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: Remove unused variables packets*

These variables are unused and don't reach user.

Remove them all.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cbe4da53
...@@ -441,11 +441,6 @@ struct vnt_private { ...@@ -441,11 +441,6 @@ struct vnt_private {
int bExistSWNetAddr; int bExistSWNetAddr;
/* Maintain statistical debug info. */ /* Maintain statistical debug info. */
unsigned long packetsReceived;
unsigned long packetsReceivedDropped;
unsigned long packetsReceivedOverflow;
unsigned long packetsSent;
unsigned long packetsSentDropped;
unsigned long SendContextsInUse; unsigned long SendContextsInUse;
unsigned long RcvBuffersInUse; unsigned long RcvBuffersInUse;
......
...@@ -627,14 +627,10 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb) ...@@ -627,14 +627,10 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb)
priv->dev->trans_start = jiffies; priv->dev->trans_start = jiffies;
if (status == STATUS_SUCCESS) { if (status != STATUS_SUCCESS) {
priv->packetsSent++;
} else {
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"Send USB error! [%08xh]\n", status); "Send USB error! [%08xh]\n", status);
priv->packetsSentDropped++;
} }
} }
if (priv->bLinkPass == true) { if (priv->bLinkPass == true) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment