Skip to contentSkip to conversation

staging: r8188eu: remove unused functions from hal/odm_HWConfig.c

PATCH New Michael Straube 1 participant 3 messages Sep 8, 2021 Staging

lore
Share & tools
lore
#0 lore raw

cover staging: r8188eu: remove unused functions from hal/odm_HWConfig.c

This series removes unused and empty functions from the file hal/odm_HWConfig.c.

Michael Straube (2):
staging: r8188eu: remove unused odm_Init_RSSIForDM()
staging: r8188eu: remove unused ODM_MacStatusQuery()

 drivers/staging/r8188eu/hal/odm_HWConfig.c     | 12 ------------
 drivers/staging/r8188eu/include/odm_HWConfig.h |  9 ---------
 2 files changed, 21 deletions(-)
Signature · 1 line
2.33.0
#1 lore raw

PATCH 1/2 staging: r8188eu: remove unused odm_Init_RSSIForDM()

Function odm_Init_RSSIForDM() is unused and empty, remove it.

---
 drivers/staging/r8188eu/hal/odm_HWConfig.c     | 4 ----
 drivers/staging/r8188eu/include/odm_HWConfig.h | 2 --
 2 files changed, 6 deletions(-)
drivers/staging/r8188eu/hal/odm_HWConfig.c +0 -4
index ada22a526fee..db4c072ec6c5 100644
@@ -356,10 +356,6 @@ static void odm_RxPhyStatus92CSeries_Parsing(struct odm_dm_struct *dm_odm,
 	dm_odm->DM_FatTable.antsel_rx_keep_2 = pPhyStaRpt->antsel_rx_keep_2;
 }
 
-void odm_Init_RSSIForDM(struct odm_dm_struct *dm_odm)
-{
-}
-
 static void odm_Process_RSSIForDM(struct odm_dm_struct *dm_odm,
 				  struct odm_phy_status_info *pPhyInfo,
 				  struct odm_per_pkt_info *pPktinfo)
drivers/staging/r8188eu/include/odm_HWConfig.h +0 -2
index 9b2ab3bcf992..790ab4d1eff5 100644
@@ -89,8 +89,6 @@ struct phy_status_rpt {
 #endif
 };
 
-void odm_Init_RSSIForDM(struct odm_dm_struct *pDM_Odm);
-
 void ODM_PhyStatusQuery(struct odm_dm_struct *pDM_Odm,
 			struct odm_phy_status_info *pPhyInfo,
 			u8 *pPhyStatus,
Signature · 1 line
2.33.0
#2 lore raw

PATCH 2/2 staging: r8188eu: remove unused ODM_MacStatusQuery()

In reply to Michael Straube

Function ODM_MacStatusQuery() is unused and empty, remove it.

---
 drivers/staging/r8188eu/hal/odm_HWConfig.c     | 8 --------
 drivers/staging/r8188eu/include/odm_HWConfig.h | 7 -------
 2 files changed, 15 deletions(-)
drivers/staging/r8188eu/hal/odm_HWConfig.c +0 -8
index db4c072ec6c5..0a07795e3912 100644
@@ -519,14 +519,6 @@ void ODM_PhyStatusQuery(struct odm_dm_struct *dm_odm,
 	ODM_PhyStatusQuery_92CSeries(dm_odm, pPhyInfo, pPhyStatus, pPktinfo, adapt);
 }
 
-/*  For future use. */
-void ODM_MacStatusQuery(struct odm_dm_struct *dm_odm, u8 *mac_stat,
-			u8 macid, bool pkt_match_bssid,
-			bool pkttoself, bool pkt_beacon)
-{
-	/*  2011/10/19 Driver team will handle in the future. */
-}
-
 enum HAL_STATUS ODM_ConfigRFWithHeaderFile(struct odm_dm_struct *dm_odm,
 					   enum rf_radio_path content,
 					   enum rf_radio_path rfpath)
drivers/staging/r8188eu/include/odm_HWConfig.h +0 -7
index 790ab4d1eff5..e2edcb7dbad6 100644
@@ -95,13 +95,6 @@ void ODM_PhyStatusQuery(struct odm_dm_struct *pDM_Odm,
 			struct odm_per_pkt_info *pPktinfo,
 			struct adapter *adapt);
 
-void ODM_MacStatusQuery(struct odm_dm_struct *pDM_Odm,
-			u8 *pMacStatus,
-			u8	MacID,
-			bool	bPacketMatchBSSID,
-			bool	bPacketToSelf,
-			bool	bPacketBeacon);
-
 enum HAL_STATUS ODM_ConfigRFWithHeaderFile(struct odm_dm_struct *pDM_Odm,
 					   enum rf_radio_path Content,
 					   enum rf_radio_path eRFPath);
Signature · 1 line
2.33.0