staging: r8188eu: clean up error handling in rtw_start_drv_threads()
authorMichael Straube <straube.linux@gmail.com>
Sun, 6 Nov 2022 13:34:43 +0000 (14:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Nov 2022 15:29:43 +0000 (16:29 +0100)
commit2b62e1b447c643de8bb063d64348e4d000f3c557
treef1956275c704c2ceeba534261871a6332c9d8307
parentc12b5b5614ac39c66d6dcf8f367620e614343b25
staging: r8188eu: clean up error handling in rtw_start_drv_threads()

Convert the error handling in the function rtw_start_drv_threads() to
the common logic used in the kernel. Another step to get rid of _FAIL
and _SUCCESS which uses inverted logic.

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