staging: rtl8723au: hal: Remove unnecessary function and its call
The function odm_DynamicBBPowerSaving23a on being called, simply returns back. The function hasn't been mentioned in the TODO and doesn't have FIXME code around. Hence, odm_DynamicBBPowerSaving23a and its calls have been removed. This was done using Coccinelle. @@ identifier f; @@ void f(...) { -return; } Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3deba0bcd8
commit
d9209cb8f1
|
@ -185,7 +185,6 @@ void odm_CCKPacketDetectionThresh23a(struct dm_odm_t *pDM_Odm);
|
|||
/* START-------BB POWER SAVE----------------------- */
|
||||
void odm23a_DynBBPSInit(struct dm_odm_t *pDM_Odm);
|
||||
|
||||
void odm_DynamicBBPowerSaving23a(struct dm_odm_t *pDM_Odm);
|
||||
|
||||
/* END---------BB POWER SAVE----------------------- */
|
||||
|
||||
|
@ -270,7 +269,6 @@ void ODM_DMWatchdog23a(struct rtw_adapter *adapter)
|
|||
|
||||
odm_RefreshRateAdaptiveMask(pDM_Odm);
|
||||
|
||||
odm_DynamicBBPowerSaving23a(pDM_Odm);
|
||||
|
||||
odm_EdcaTurboCheck23a(pDM_Odm);
|
||||
}
|
||||
|
@ -894,10 +892,6 @@ void odm23a_DynBBPSInit(struct dm_odm_t *pDM_Odm)
|
|||
pDM_PSTable->initialize = 0;
|
||||
}
|
||||
|
||||
void odm_DynamicBBPowerSaving23a(struct dm_odm_t *pDM_Odm)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void ODM_RF_Saving23a(struct dm_odm_t *pDM_Odm, u8 bForceInNormal)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue