From: Malcolm Priestley Date: Wed, 29 Oct 2014 17:44:03 +0000 (+0000) Subject: staging: vt6655: s_vGenerateTxParameter remove unused cbMACHdLen X-Git-Tag: v4.14-rc1~6283^2~649 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f038ad0e72614970ddcc088a7685f93d27d373b6;p=platform%2Fkernel%2Flinux-rpi.git staging: vt6655: s_vGenerateTxParameter remove unused cbMACHdLen Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 23ee379..9beabea 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -1132,7 +1132,6 @@ s_vGenerateTxParameter( unsigned short wCurrentRate ) { - unsigned int cbMACHdLen = WLAN_HDR_ADDR3_LEN; //24 unsigned short wFifoCtl; bool bDisCRC = false; unsigned char byFBOption = AUTO_FB_NONE; @@ -1150,9 +1149,6 @@ s_vGenerateTxParameter( else if (wFifoCtl & FIFOCTL_AUTO_FB_1) byFBOption = AUTO_FB_1; - if (pDevice->bLongHeader) - cbMACHdLen = WLAN_HDR_ADDR3_LEN + 6; - if (!pvRrvTime) return;