Staging: rtl8188eu: Remove dead code
PATCH 1/1 Staging: rtl8188eu: Remove dead code
The if condition is always false and the variables are unused elsewhere in the code.
Signed-off-by Vatika Harlalka <[email protected]>
--- drivers/staging/rtl8188eu/hal/phy.c | 3 --- 1 file changed, 3 deletions(-)
drivers/staging/rtl8188eu/hal/phy.c +0 -3
@@ -1456,15 +1456,12 @@ void rtl88eu_phy_iq_calibrate(struct adapter *adapt, bool recovery)void rtl88eu_phy_lc_calibrate (struct adapter *adapt) { -bool singletone = false, carrier_sup = false;u32 timeout =2000 , timecount =0 ;struct hal_data_8188e *hal_data =GET_HAL_DATA (adapt);struct odm_dm_struct *dm_odm = &hal_data->odmpriv;if (!(dm_odm->SupportAbility &ODM_RF_CALIBRATION ))return ; -if (singletone || carrier_sup) -return ;while (*(dm_odm->pbScanInProcess) && timecount < timeout) {mdelay (50 );
Signature · 1 line
1.9.1