staging: vt6655: struct tagDEVICE_TD_INFO remove dwHeaderLength

dwHeaderLength is assigned a value but that is never used.

Remove variable.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2015-08-14 22:58:49 +01:00 committed by Greg Kroah-Hartman
parent 531a9c524a
commit 3a0989bb6c
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}