]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: Remove dead code
authorBera Yüzlü <b9788213@gmail.com>
Wed, 18 Mar 2026 19:50:05 +0000 (22:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Mar 2026 08:29:06 +0000 (10:29 +0200)
Clean up the dm_odm_t structure by removing commented-out members and
related legacy comments.

Signed-off-by: Bera Yüzlü <b9788213@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260318195005.23962-1-b9788213@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/odm.h

index 714bab71d8211dd904235c5b23414706339d5f9f..aa4e36b6f2b4dbbe032e049bb89f1bfcb789381f 100644 (file)
@@ -650,10 +650,6 @@ struct ant_detected_info {
 /*  2011/09/22 MH Copy from SD4 defined structure. We use to support PHY DM integration. */
 /*  */
 struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
-       /* struct timer_list    FastAntTrainingTimer; */
-       /*  */
-       /*      Add for different team use temporarily */
-       /*  */
        struct adapter *Adapter;                /*  For CE/NIC team */
        /*  WHen you use Adapter or priv pointer, you must make sure the pointer is ready. */
        bool odm_ready;
@@ -673,17 +669,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
        u8 ControlChannel;
 /*  ODM HANDLE, DRIVER NEEDS NOT TO HOOK------ */
 
-/* REMOVED COMMON INFO---------- */
-       /* u8           PseudoMacPhyMode; */
-       /* bool                 *BTCoexist; */
-       /* bool                 PseudoBtCoexist; */
-       /* u8           OPMode; */
-       /* bool                 bAPMode; */
-       /* bool                 bClientMode; */
-       /* bool                 bAdHocMode; */
-       /* bool                 bSlaveOfDMSP; */
-/* REMOVED COMMON INFO---------- */
-
 /* 1  COMMON INFORMATION */
 
        /*  */
@@ -766,7 +751,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
        u8 *pAntennaTest;
        bool *pbNet_closed;
        u8 *mp_mode;
-       /* u8   *pAidMap; */
        u8 *pu1ForcedIgiLb;
 /*  For 8723B IQK----------- */
        bool *pIs1Antenna;
@@ -865,18 +849,9 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
 
        /*  Latest packet phy info (ODM write) */
        struct odm_phy_dbg_info PhyDbgInfo;
-       /* PHY_INFO_88E         PhyInfo; */
 
        /*  Latest packet phy info (ODM write) */
        struct odm_mac_status_info *pMacInfo;
-       /* MAC_INFO_88E         MacInfo; */
-
-       /*  Different Team independent structure?? */
-
-       /*  */
-       /* TX_RTP_CMN           TX_retrpo; */
-       /* TX_RTP_88E           TX_retrpo; */
-       /* TX_RTP_8195          TX_retrpo; */
 
        /*  */
        /* ODM Structure */
@@ -902,15 +877,6 @@ struct dm_odm_t { /* DM_Out_Source_Dynamic_Mechanism_Structure */
        /*  */
 
        /* common */
-       /* u8 DM_Type; */
-       /* u8    PSD_Report_RXHP[80];    Add By Gary */
-       /* u8    PSD_func_flag;                Add By Gary */
-       /* for DIG */
-       /* u8 bDMInitialGainEnable; */
-       /* u8 binitialized;  for dm_initial_gain_Multi_STA use. */
-       /* for Antenna diversity */
-       /* u8 AntDivCfg; 0:OFF , 1:ON, 2:by efuse */
-       /* PSTA_INFO_T RSSI_target; */
 
        bool *pbDriverStopped;
        bool *pbDriverIsGoingToPnpSetPowerSleep;