提交 07bc8398 编写于 作者: M Malcolm Priestley 提交者: Greg Kroah-Hartman

staging: vt6656: Remove unused variables packets*

These variables are unused and don't reach user.

Remove them all.
Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 cbe4da53
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部