staging: r8188eu: os_dep: remove the goto statement
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Wed, 3 Nov 2021 15:48:41 +0000 (21:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:02:02 +0000 (10:02 +0100)
commitb865f36cadaf2e1c94059849cfeff9959568e2cb
treeccb475f6b8cc5279e4c6e04cae8a091f5c889f42
parenta9413afabf35bc3e6512a998f7075c54ace12d42
staging: r8188eu: os_dep: remove the goto statement

Remove the goto statement from rtw_init_drv_sw(). In this function goto
can be replace by return statement. As on goto label exit, function
only return it is not performing any cleanup. Avoiding goto will
improve the function readability.

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YYKvWeyqd71pYSqM@Sauravs-MacBook-Air.local
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/os_intfs.c