staging: rtl8723au: ODM_BB_DYNAMIC_TXPWR isn't used for anything
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 2 Mar 2015 20:24:41 +0000 (15:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 17:54:28 +0000 (09:54 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_dm.c
drivers/staging/rtl8723au/include/odm.h

index 16811ffc67f2fe62ce1d4a38c6081bbbc5ac5dcf..65276e2eecc8ca0bf441a31e0b321529e3eca1a5 100644 (file)
@@ -129,8 +129,7 @@ static void Update_ODM_ComInfo_8723a(struct rtw_adapter *Adapter)
        struct dm_odm_t *pDM_Odm = &pHalData->odmpriv;
        struct dm_priv  *pdmpriv = &pHalData->dmpriv;
        int i;
-       pdmpriv->InitODMFlag =  ODM_BB_DYNAMIC_TXPWR    |
-                               ODM_BB_FA_CNT           |
+       pdmpriv->InitODMFlag =  ODM_BB_FA_CNT           |
                                ODM_BB_RSSI_MONITOR     |
                                ODM_BB_CCK_PD           |
                                ODM_BB_PWR_SAVE         |
index 7ee874aea77617f099bd3b1680aaaf4e76bf87dc..af860b3c9f59a970d1144f9b37c6b1c4ff88b1ea 100644 (file)
@@ -347,7 +347,6 @@ enum odm_cmninfo {
 /*  Define ODM support ability.  ODM_CMNINFO_ABILITY */
 enum {
        /*  BB ODM section BIT 0-15 */
-       ODM_BB_DYNAMIC_TXPWR                    = BIT(2),
        ODM_BB_FA_CNT                           = BIT(3),
        ODM_BB_RSSI_MONITOR                     = BIT(4),
        ODM_BB_CCK_PD                           = BIT(5),