diff options
| author | Bryan Brattlof <[email protected]> | 2021-04-11 13:36:39 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-12 11:38:00 +0200 |
| commit | a2e2a05d5d57c08d70ed86c68b5c684246eb4e08 (patch) | |
| tree | 57c071265f4c5262694562727ccf8d7b60364ef6 | |
| parent | 9e74999b1a68ca17f985e65e007eda2bb5167931 (diff) | |
staging: rtl8723bs: remove unnecessary goto jumps
The next instruction for both 'goto exit' jump statements is to
execute the exit jump instructions regardless. We can safely
remove all jump statements from __init rtw_drv_entry()
Signed-off-by: Bryan Brattlof <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c index a8ef95ab14da..7090c1b3cc2f 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c @@ -504,12 +504,8 @@ static int __init rtw_drv_entry(void) if (ret != 0) { sdio_drvpriv.drv_registered = false; rtw_ndev_notifier_unregister(); - goto exit; } - goto exit; - -exit: DBG_871X_LEVEL(_drv_always_, "module init ret =%d\n", ret); return ret; } |