diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2013-08-24 12:01:48 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-26 13:25:34 (GMT) |
commit | b6c416ce68f31993612a7b45959fb8b7840e813a (patch) | |
tree | 61187069a0eeedfa23378b52ec373e245394a6ce | |
parent | 09bd0f3563dc49513ebc01975985fc74a8757d34 (diff) | |
download | linux-fsl-qoriq-b6c416ce68f31993612a7b45959fb8b7840e813a.tar.xz |
staging: vt6656: s_vGenerateTxParameter dead code bDisCRC
As result of patch
vt6656: rxtx.c s_vFillCTSHead remove dead code bDisCRC
bDisCRC is unused.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/rxtx.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 7b94a77..64ce7f0 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -846,7 +846,6 @@ static void s_vGenerateTxParameter(struct vnt_private *pDevice, { u32 cbMACHdLen = WLAN_HDR_ADDR3_LEN; /* 24 */ u16 wFifoCtl; - int bDisCRC = false; u8 byFBOption = AUTO_FB_NONE; //DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"s_vGenerateTxParameter...\n"); @@ -854,10 +853,6 @@ static void s_vGenerateTxParameter(struct vnt_private *pDevice, pFifoHead->wReserved = wCurrentRate; wFifoCtl = pFifoHead->wFIFOCtl; - if (wFifoCtl & FIFOCTL_CRCDIS) { - bDisCRC = true; - } - if (wFifoCtl & FIFOCTL_AUTO_FB_0) { byFBOption = AUTO_FB_0; } |