]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6656: Remove unused variable byACKRate.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 17 May 2014 08:50:35 +0000 (09:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 May 2014 16:58:31 +0000 (09:58 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/rxtx.c

index eff50c8a7f6c5892bdb03fb1fdf657ca7689fdbd..73bce9e80c3368a61de49f343db3f22eff0d0574 100644 (file)
@@ -535,7 +535,6 @@ struct vnt_private {
        u8 byBBType; /* 0: 11A, 1:11B, 2:11G */
        u8 byPacketType; /* 0:11a 1:11b 2:11gb 3:11ga */
        u16 wBasicRate;
-       u8 byACKRate;
        u8 byTopOFDMBasicRate;
        u8 byTopCCKBasicRate;
 
index 7287467c3affb1e4eb92c98639a39d92df5bf26d..4ec79c461d450865531dea3c60867c84d0bde304 100644 (file)
@@ -2341,12 +2341,10 @@ int nsDMA_tx_packet(struct vnt_private *pDevice, struct sk_buff *skb)
        if (pDevice->sTxEthHeader.h_proto == cpu_to_be16(ETH_P_PAE)) {
                if (pDevice->byBBType != BB_TYPE_11A) {
                        pDevice->wCurrentRate = RATE_1M;
-                       pDevice->byACKRate = RATE_1M;
                        pDevice->byTopCCKBasicRate = RATE_1M;
                        pDevice->byTopOFDMBasicRate = RATE_6M;
                } else {
                        pDevice->wCurrentRate = RATE_6M;
-                       pDevice->byACKRate = RATE_6M;
                        pDevice->byTopCCKBasicRate = RATE_1M;
                        pDevice->byTopOFDMBasicRate = RATE_6M;
                }