diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-08-14 22:58:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-14 19:31:10 -0700 |
commit | 3a0989bb6cacb1f40273d4c397ea91cabe73bad8 (patch) | |
tree | d3a9fc8f12a002b7d6278764607ba8820aef9d46 /drivers | |
parent | 531a9c524a54b7d232b6bf6631c460450dd41dbf (diff) | |
download | op-kernel-dev-3a0989bb6cacb1f40273d4c397ea91cabe73bad8.zip op-kernel-dev-3a0989bb6cacb1f40273d4c397ea91cabe73bad8.tar.gz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6655/desc.h | 1 | ||||
-rw-r--r-- | drivers/staging/vt6655/rxtx.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/desc.h b/drivers/staging/vt6655/desc.h index ab52c56..0b786cf 100644 --- a/drivers/staging/vt6655/desc.h +++ b/drivers/staging/vt6655/desc.h @@ -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; diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index f3f6b15..c918248 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -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; } |