rtl8192eu-linux-driver/os_dep
Nathan Chancellor c597fa83da Reorganize error handling in rtw_drv_init()
Looking at the error function as a whole, the error handling is odd
compared to the rest of the kernel, which prefers to set error codes on
goto paths, rather than a global "status" variable which determines the
error code at the end of the function and function calls in the case of
error.

Rearrange the error handling of this function to bring it more inline
with how the kernel does it in most cases, which helps readability.

Link: https://lore.kernel.org/r/20210812204027.338872-4-nathan@kernel.org
Link: https://lore.kernel.org/r/20210813201418.4018631-1-nathan@kernel.org
2021-10-11 14:22:28 +02:00
..
linux Reorganize error handling in rtw_drv_init() 2021-10-11 14:22:28 +02:00
osdep_service.c Remove wrapper rtw_sleep_schedulable() 2021-10-11 13:03:59 +02:00