Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;

+1 −5
Original line number Diff line number Diff line
@@ -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) {