staging: r8188eu: remove _ps_open_RF
authorMartin Kaiser <martin@kaiser.cx>
Fri, 26 Nov 2021 13:03:58 +0000 (14:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:12:07 +0000 (15:12 +0100)
The _ps_open_RF function is empty. Remove it.

Reviewed-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211126130400.26151-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/rtl8188e_hal.h

index c48c34a..c314433 100644 (file)
@@ -601,8 +601,6 @@ u32 rtl8188eu_hal_init(struct adapter *Adapter)
        HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_BEGIN);
 
        if (Adapter->pwrctrlpriv.bkeepfwalive) {
-               _ps_open_RF(Adapter);
-
                if (haldata->odmpriv.RFCalibrateInfo.bIQKInitialized) {
                        PHY_IQCalibrate_8188E(Adapter, true);
                } else {
@@ -838,12 +836,6 @@ exit:
        return status;
 }
 
-void _ps_open_RF(struct adapter *adapt)
-{
-       /* here call with bRegSSPwrLvl 1, bRegSSPwrLvl 2 needs to be verified */
-       /* phy_SsPwrSwitch92CU(adapt, rf_on, 1); */
-}
-
 static void _ps_close_RF(struct adapter *adapt)
 {
        /* here call with bRegSSPwrLvl 1, bRegSSPwrLvl 2 needs to be verified */
index 5848f1d..176b822 100644 (file)
@@ -331,6 +331,5 @@ void rtl8188e_read_chip_version(struct adapter *padapter);
 
 s32 rtl8188e_iol_efuse_patch(struct adapter *padapter);
 void rtw_cancel_all_timer(struct adapter *padapter);
-void _ps_open_RF(struct adapter *adapt);
 
 #endif /* __RTL8188E_HAL_H__ */