staging: r8188eu: core: remove goto statement
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Mon, 25 Oct 2021 12:15:10 +0000 (17:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Oct 2021 16:45:41 +0000 (18:45 +0200)
commitb6f8bd68120faebfa04c4ba34845bf8498eaf868
treed5edd599b29d9922f9e5fdd8b763d1708a111cb1
parentf3d90f5139e59e04ed50ee72a01f73863e5dcc70
staging: r8188eu: core: remove goto statement

Remove the goto statement from rtw_do_join(). 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/YXafzp5F8T7/+tk2@Sauravs-MacBook-Air.local
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_ioctl_set.c