mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-17 08:56:08 +07:00
staging: vt6655: s_vGenerateTxParameter remove unused cbMACHdLen
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
837a38f71b
commit
f038ad0e72
@ -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(
|
|||||||
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user