Commit f038ad0e authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6655: s_vGenerateTxParameter remove unused cbMACHdLen

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 837a38f7
...@@ -1132,7 +1132,6 @@ s_vGenerateTxParameter( ...@@ -1132,7 +1132,6 @@ s_vGenerateTxParameter(
unsigned short wCurrentRate unsigned short wCurrentRate
) )
{ {
unsigned int cbMACHdLen = WLAN_HDR_ADDR3_LEN; //24
unsigned short wFifoCtl; unsigned short wFifoCtl;
bool bDisCRC = false; bool bDisCRC = false;
unsigned char byFBOption = AUTO_FB_NONE; unsigned char byFBOption = AUTO_FB_NONE;
...@@ -1150,9 +1149,6 @@ s_vGenerateTxParameter( ...@@ -1150,9 +1149,6 @@ s_vGenerateTxParameter(
else if (wFifoCtl & FIFOCTL_AUTO_FB_1) else if (wFifoCtl & FIFOCTL_AUTO_FB_1)
byFBOption = AUTO_FB_1; byFBOption = AUTO_FB_1;
if (pDevice->bLongHeader)
cbMACHdLen = WLAN_HDR_ADDR3_LEN + 6;
if (!pvRrvTime) if (!pvRrvTime)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment