]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: remove unnecessary return labels.
authorMichael Straube <straube.linux@gmail.com>
Thu, 8 Sep 2022 13:09:15 +0000 (15:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Sep 2022 07:53:01 +0000 (09:53 +0200)
commit0a7c1c8fcb80df12816b26d49e55562c61b5093c
tree8d51b7f2385cc5a40cccbe7cb4b0e881e2f8e626
parent43a855b876d29266691e0af185e2046b351ad4c6
staging: r8188eu: remove unnecessary return labels.

Remove the RETURN labels in rtw_alloc_etherdev_with_old_priv() and
rtw_alloc_etherdev() and return directly to clean up the code and
improve readability.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220908130915.8406-5-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/osdep_service.c