mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 02:00:43 -04:00
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:
committed by
Greg Kroah-Hartman
parent
cbe4da533b
commit
07bc8398ad
@@ -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;
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user