[PATCH 2/2] staging: rtl8723bs: remove unnecessary else after return in sdio_halinit.c

Josh Hesketh
2026-04-11T21:40:25Z

Remove else branch following a conditional return statement

Signed-off-by: Josh Hesketh <josh.hesketh@gmail.com>
---
drivers/staging/rtl8723bs/hal/sdio_halinit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/rtl8723bs/hal/sdio_halinit.c
index 81b6025fa8d9..31834232eb38 100644
--- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c
+++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c
@@ -655,11 +655,11 @@ u32 rtl8723bs_hal_init(struct adapter *padapter)
padapter->bFWReady = false;
pHalData->fw_ractrl = false;
return ret;
- } else {
- padapter->bFWReady = true;
- pHalData->fw_ractrl = true;
}

+ padapter->bFWReady = true;
+ pHalData->fw_ractrl = true;
+
rtl8723b_InitializeFirmwareVars(padapter);

/* SIC_Init(padapter); */
--
2.53.0