Commit 3a0989bb authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6655: struct tagDEVICE_TD_INFO remove dwHeaderLength



dwHeaderLength is assigned a value but that is never used.

Remove variable.

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 531a9c52
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -246,7 +246,6 @@ typedef struct tagDEVICE_TD_INFO {
	unsigned char *buf;
	dma_addr_t          buf_dma;
	u16 dwReqCount;
	unsigned long dwHeaderLength;
	unsigned char byFlags;
} DEVICE_TD_INFO,    *PDEVICE_TD_INFO;

+0 −1
Original line number Diff line number Diff line
@@ -1201,7 +1201,6 @@ s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
	ptdCurr = (PSTxDesc)pHeadTD;

	ptdCurr->pTDInfo->dwReqCount = (u16)cbReqCount;
	ptdCurr->pTDInfo->dwHeaderLength = cbHeaderLength;

	return cbHeaderLength;
}