mirror of https://gitee.com/openkylin/linux.git
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:
parent
531a9c524a
commit
3a0989bb6c
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue