staging: rtl8723au: Remove a number of unused entries from struct dm_odm_t
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 5 Mar 2015 19:24:35 +0000 (14:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 01:07:39 +0000 (17:07 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/odm.c
drivers/staging/rtl8723au/include/odm.h

index 2d3653e..937b6d7 100644 (file)
@@ -330,15 +330,6 @@ void ODM_CmnInfoInit23a(struct dm_odm_t *pDM_Odm,
                /* do nothing */
                break;
        }
-
-       /*  */
-       /*  Tx power tracking BB swing table. */
-       /*  The base index = 12. +((12-n)/2)dB 13~?? = decrease tx pwr by -((n-12)/2)dB */
-       /*  */
-       pDM_Odm->BbSwingIdxOfdm                 = 12; /*  Set defalut value as index 12. */
-       pDM_Odm->BbSwingIdxOfdmCurrent  = 12;
-       pDM_Odm->BbSwingFlagOfdm                = false;
-
 }
 
 void ODM_CmnInfoPtrArrayHook23a(struct dm_odm_t *pDM_Odm, enum odm_cmninfo CmnInfo,
index d097465..24f2f28 100644 (file)
@@ -609,14 +609,6 @@ struct dm_odm_t {
        /*  2012/01/12 MH For MP, we need to reduce one array pointer for default port.?? */
        struct sta_info *               pODM_StaInfo[ODM_ASSOCIATE_ENTRY_NUM];
 
-       /*  */
-       /*  2012/02/14 MH Add to share 88E ra with other SW team. */
-       /*  We need to colelct all support abilit to a proper area. */
-       /*  */
-       bool                            RaSupport88E;
-
-       /*  Define ........... */
-
        /*  Latest packet phy info (ODM write) */
        struct odm_phy_dbg_info  PhyDbgInfo;
        /* PHY_INFO_88E         PhyInfo; */
@@ -648,29 +640,11 @@ struct dm_odm_t {
        /*  */
 
        /* PSD */
-       bool                    bUserAssignLevel;
-       u8                      RSSI_BT;                        /* come from BT */
-       bool                    bPSDinProcess;
-
+       u8                      RSSI_BT;                /* come from BT */
        struct odm_rate_adapt   RateAdaptive;
 
 
        struct odm_rf_cal_t     RFCalibrateInfo;
-
-       /*  */
-       /*  TX power tracking */
-       /*  */
-       u8                      BbSwingIdxOfdm;
-       u8                      BbSwingIdxOfdmCurrent;
-       u8                      BbSwingIdxOfdmBase;
-       bool                    BbSwingFlagOfdm;
-       u8                      BbSwingIdxCck;
-       u8                      BbSwingIdxCckCurrent;
-       u8                      BbSwingIdxCckBase;
-       bool                    BbSwingFlagCck;
-       /*  */
-       /*  ODM system resource. */
-       /*  */
 };     /*  DM_Dynamic_Mechanism_Structure */
 
 enum odm_rf_content {