staging: vt6656: Remove unused variables packets*

These variables are unused and don't reach user.

Remove them all.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-02-27 23:06:13 +00:00 committed by Greg Kroah-Hartman
parent cbe4da533b
commit 07bc8398ad
2 changed files with 1 additions and 10 deletions

View file

@ -441,11 +441,6 @@ struct vnt_private {
int bExistSWNetAddr;
/* Maintain statistical debug info. */
unsigned long packetsReceived;
unsigned long packetsReceivedDropped;
unsigned long packetsReceivedOverflow;
unsigned long packetsSent;
unsigned long packetsSentDropped;
unsigned long SendContextsInUse;
unsigned long RcvBuffersInUse;

View file

@ -627,14 +627,10 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb)
priv->dev->trans_start = jiffies;
if (status == STATUS_SUCCESS) {
priv->packetsSent++;
} else {
if (status != STATUS_SUCCESS) {
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"Send USB error! [%08xh]\n", status);
priv->packetsSentDropped++;
}
}
if (priv->bLinkPass == true) {