rtl8192eu-linux-driver/os_dep/linux
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
..
custom_gpio_linux.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
ioctl_cfg80211.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
ioctl_cfg80211.h Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
ioctl_linux.c replace custom hwaddr_aton_i() with mac_pton() 2021-10-11 13:55:23 +02:00
ioctl_mp.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
mlme_linux.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
os_intfs.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
recv_linux.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rhashtable.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rhashtable.h Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_android.c Remove wrapper rtw_mdelay_os() 2021-10-11 12:57:06 +02:00
rtw_cfgvendor.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_cfgvendor.h Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_proc.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_proc.h Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_rhashtable.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_rhashtable.h Add version v5.6.4 2019-11-13 22:12:20 +01:00
usb_intf.c Reorganize error handling in rtw_drv_init() 2021-10-11 14:22:28 +02:00
usb_ops_linux.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
wifi_regd.c Fix wireless regulatory API misuse 2021-03-11 23:39:00 +01:00
xmit_linux.c Add version v5.6.4 2019-11-13 22:12:20 +01:00