staging: r8188eu: remove unused ODM_RASupport_Init()
PATCH 1/2 staging: r8188eu: remove unused ODM_RASupport_Init()
Function ODM_RASupport_Init() is unused, remove it.
Signed-off-by Michael Straube <[email protected]>
--- drivers/staging/r8188eu/hal/Hal8188ERateAdaptive.c | 10 ---------- drivers/staging/r8188eu/include/Hal8188ERateAdaptive.h | 2 -- 2 files changed, 12 deletions(-)
drivers/staging/r8188eu/hal/Hal8188ERateAdaptive.c +0 -10
@@ -471,16 +471,6 @@ odm_RATxRPTTimerSetting( } } -void -ODM_RASupport_Init ( -struct odm_dm_struct *dm_odm - ) -{ -/* 2012/02/14 MH Be noticed, the init must be after IC type is recognized!!!!! */ -if (dm_odm->SupportICType ==ODM_RTL8188E ) - dm_odm->RaSupport88E = true; -} -int ODM_RAInfo_Init (struct odm_dm_struct *dm_odm,u8 macid) {struct odm_ra_info *pRaInfo = &dm_odm->RAInfo[macid];
drivers/staging/r8188eu/include/Hal8188ERateAdaptive.h +0 -2
@@ -37,8 +37,6 @@LE_BITS_TO_1BYTE (__paddr +6 ,0 ,8 ) /* End rate adaptive define */ -void ODM_RASupport_Init (struct odm_dm_struct *dm_odm); -int ODM_RAInfo_Init_all (struct odm_dm_struct *dm_odm);int ODM_RAInfo_Init (struct odm_dm_struct *dm_odm,u8 MacID);
Signature · 1 line
2.33.0
PATCH 2/2 staging: r8188eu: remove RaSupport88E from struct odm_dm_struct
The field RaSupport88E of struct odm_dm_struct is unused. Remove it.
Signed-off-by Michael Straube <[email protected]>
--- drivers/staging/r8188eu/include/odm.h | 7 ------- 1 file changed, 7 deletions(-)
drivers/staging/r8188eu/include/odm.h +0 -7
@@ -847,13 +847,6 @@ struct odm_dm_struct {struct odm_ra_info RAInfo[ODM_ASSOCIATE_ENTRY_NUM ];/* Use MacID as * array index. STA MacID=0, * VWiFi Client MacID={1, ODM_ASSOCIATE_ENTRY_NUM-1} */ -/* */ -/* 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;
Signature · 1 line
2.33.0