mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 21:31:03 +02:00
staging: rtl8723bs: remove empty functions
The functions rtw_hal_dm_deinit(), odm_CmnInfoInit_Debug(), and odm_BasicDbgMessage() are empty, hence we can remove them to get rid of some dead code. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20250628142330.58045-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
415ca57a1a
commit
60212a07cd
|
|
@ -38,10 +38,6 @@ void rtw_hal_dm_init(struct adapter *padapter)
|
|||
rtl8723b_init_dm_priv(padapter);
|
||||
}
|
||||
|
||||
void rtw_hal_dm_deinit(struct adapter *padapter)
|
||||
{
|
||||
}
|
||||
|
||||
static void rtw_hal_init_opmode(struct adapter *padapter)
|
||||
{
|
||||
enum ndis_802_11_network_infrastructure networkType = Ndis802_11InfrastructureMax;
|
||||
|
|
|
|||
|
|
@ -315,14 +315,6 @@ static void odm_CommonInfoSelfUpdate(struct dm_odm_t *pDM_Odm)
|
|||
pDM_Odm->bOneEntryOnly = false;
|
||||
}
|
||||
|
||||
static void odm_CmnInfoInit_Debug(struct dm_odm_t *pDM_Odm)
|
||||
{
|
||||
}
|
||||
|
||||
static void odm_BasicDbgMessage(struct dm_odm_t *pDM_Odm)
|
||||
{
|
||||
}
|
||||
|
||||
/* 3 ============================================================ */
|
||||
/* 3 RATR MASK */
|
||||
/* 3 ============================================================ */
|
||||
|
|
@ -735,7 +727,6 @@ void ODM_DMInit(struct dm_odm_t *pDM_Odm)
|
|||
{
|
||||
|
||||
odm_CommonInfoSelfInit(pDM_Odm);
|
||||
odm_CmnInfoInit_Debug(pDM_Odm);
|
||||
odm_DIGInit(pDM_Odm);
|
||||
odm_NHMCounterStatisticsInit(pDM_Odm);
|
||||
odm_AdaptivityInit(pDM_Odm);
|
||||
|
|
@ -761,7 +752,6 @@ void ODM_DMInit(struct dm_odm_t *pDM_Odm)
|
|||
void ODM_DMWatchdog(struct dm_odm_t *pDM_Odm)
|
||||
{
|
||||
odm_CommonInfoSelfUpdate(pDM_Odm);
|
||||
odm_BasicDbgMessage(pDM_Odm);
|
||||
odm_FalseAlarmCounterStatistics(pDM_Odm);
|
||||
odm_NHMCounterStatistics(pDM_Odm);
|
||||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,6 @@ void rtw_hal_def_value_init(struct adapter *padapter);
|
|||
void rtw_hal_free_data(struct adapter *padapter);
|
||||
|
||||
void rtw_hal_dm_init(struct adapter *padapter);
|
||||
void rtw_hal_dm_deinit(struct adapter *padapter);
|
||||
|
||||
uint rtw_hal_init(struct adapter *padapter);
|
||||
uint rtw_hal_deinit(struct adapter *padapter);
|
||||
|
|
|
|||
|
|
@ -709,9 +709,6 @@ void rtw_cancel_all_timer(struct adapter *padapter)
|
|||
rtw_clear_scan_deny(padapter);
|
||||
|
||||
timer_delete_sync(&padapter->recvpriv.signal_stat_timer);
|
||||
|
||||
/* cancel dm timer */
|
||||
rtw_hal_dm_deinit(padapter);
|
||||
}
|
||||
|
||||
u8 rtw_free_drv_sw(struct adapter *padapter)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user