staging: r8188eu: keep the success path and error path separate
authorVihas Makwana <makvihas@gmail.com>
Wed, 9 Feb 2022 19:07:53 +0000 (00:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Feb 2022 16:07:33 +0000 (17:07 +0100)
commit13456b9b43d43610eadc34f33406365cb3cc8d07
tree8894131e75473f00e397ed3b6055bcf5750c1d0a
parent38a8553b0a22ed54f014d8402fedd268b529175c
staging: r8188eu: keep the success path and error path separate

Keep the success path and error path separate in rtw_usb_if1_init() and
drop the "status" variable.
Also, remove do-nothing gotos.

Reviewed-by: Pavel Skripkin <paskripkin@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220209190752.7232-1-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/usb_intf.c