staging: vt6655: s_vGenerateTxParameter remove unused cbMACHdLen
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 29 Oct 2014 17:44:03 +0000 (17:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 20:31:31 +0000 (13:31 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/rxtx.c

index 23ee3799e86e9111993214ebf502e130ab5bb213..9beabea88b3fe61a7831e1de5e4410b0dbb1db7e 100644 (file)
@@ -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;