staging: r8188eu: remove unused functions from hal/odm_HWConfig.c
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
PATCH 1/2 staging: r8188eu: remove unused odm_Init_RSSIForDM()
Function odm_Init_RSSIForDM() is unused and empty, remove it.
Signed-off-by Michael Straube <[email protected]>
--- 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
@@ -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
@@ -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
PATCH 2/2 staging: r8188eu: remove unused ODM_MacStatusQuery()
In reply to Michael StraubeFunction ODM_MacStatusQuery() is unused and empty, remove it.
Signed-off-by Michael Straube <[email protected]>
--- 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
@@ -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
@@ -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