[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dad54a5a-3f75-8f45-ce78-3d8313c6a451@gmail.com>
Date: Sat, 27 Nov 2021 08:55:33 +0100
From: Michael Straube <straube.linux@...il.com>
To: Martin Kaiser <martin@...ser.cx>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Phillip Potter <phil@...lpotter.co.uk>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] staging: r8188eu: remove _ps_open_RF
On 11/26/21 14:03, Martin Kaiser wrote:
> The _ps_open_RF function is empty. Remove it.
>
> Signed-off-by: Martin Kaiser <martin@...ser.cx>
> ---
> v2:
> - remove _ps_open_RF prototype
>
> drivers/staging/r8188eu/hal/usb_halinit.c | 8 --------
> drivers/staging/r8188eu/include/rtl8188e_hal.h | 1 -
> 2 files changed, 9 deletions(-)
>
> diff --git a/drivers/staging/r8188eu/hal/usb_halinit.c b/drivers/staging/r8188eu/hal/usb_halinit.c
> index 04518e9838ea..995ea4a55435 100644
> --- a/drivers/staging/r8188eu/hal/usb_halinit.c
> +++ b/drivers/staging/r8188eu/hal/usb_halinit.c
> @@ -615,8 +615,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 {
> @@ -852,12 +850,6 @@ u32 rtl8188eu_hal_init(struct adapter *Adapter)
> 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 */
> diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h
> index 5848f1d4191a..176b82219459 100644
> --- a/drivers/staging/r8188eu/include/rtl8188e_hal.h
> +++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h
> @@ -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__ */
>
Reviewed-by: Michael Straube <straube.linux@...il.com>
Powered by blists - more mailing lists