diff options
author | Fabio Aiuto <fabioaiuto83@gmail.com> | 2021-04-10 17:20:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-11 09:45:03 +0300 |
commit | 1b9e18de8d43bf798622cc365f99b41f180b446f (patch) | |
tree | 37f2daf7c745620ce1ef056174b27b1e9a9580d2 /drivers/staging/rtl8723bs | |
parent | d6b08255f8fb0084ea78f8358b529d6d27e9c103 (diff) | |
download | linux-1b9e18de8d43bf798622cc365f99b41f180b446f.tar.xz |
staging: rtl8723bs: remove more empty if blocks after DBG_8192C deletion
remove more empty if-blocks after DBG_8192C deletion.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/99b111d2bac822b9dc7ff6e1cfd3d3efc62ef836.1618064275.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r-- | drivers/staging/rtl8723bs/hal/sdio_halinit.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/rtl8723bs/hal/sdio_halinit.c index 049112a08776..2098384efe92 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c +++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c @@ -882,8 +882,6 @@ static void CardDisableRTL8723BSdio(struct adapter *padapter) /* Run LPS WL RFOFF flow */ ret = HalPwrSeqCmdParsing(padapter, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_SDIO_MSK, rtl8723B_enter_lps_flow); - if (ret == _FAIL) { - } /* ==== Reset digital sequence ====== */ @@ -914,8 +912,6 @@ static void CardDisableRTL8723BSdio(struct adapter *padapter) ret = false; rtw_hal_set_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn); ret = HalPwrSeqCmdParsing(padapter, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_SDIO_MSK, rtl8723B_card_disable_flow); - if (!ret) { - } } static u32 rtl8723bs_hal_deinit(struct adapter *padapter) |