mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-25 15:04:59 +00:00
2a467a7923
Convert all rtw_zvmalloc calls within the driver to use the existing kernel vzalloc function, which has the same semantics. Also rewrite the two places where it is mentioned in comments to say vzalloc, and remove the redundant cast to struct adapter * in ./os_dep/usb_intf.c as vzalloc returns void *. The reason for the conversion is that rtw_zvmalloc is just a preprocessor definition for _rtw_zvmalloc which itself is just an inline wrapper around vmalloc which then zeroes the memory out. As vzalloc does the same thing via usage of __GFP_ZERO, this code is redundant and can subsequently be removed. Link: https://lore.kernel.org/r/20210818234853.208448-5-phil@philpotter.co.uk |
||
---|---|---|
.. | ||
custom_gpio_linux.c | ||
ioctl_cfg80211.c | ||
ioctl_cfg80211.h | ||
ioctl_linux.c | ||
ioctl_mp.c | ||
mlme_linux.c | ||
os_intfs.c | ||
recv_linux.c | ||
rhashtable.c | ||
rhashtable.h | ||
rtw_android.c | ||
rtw_cfgvendor.c | ||
rtw_cfgvendor.h | ||
rtw_proc.c | ||
rtw_proc.h | ||
rtw_rhashtable.c | ||
rtw_rhashtable.h | ||
usb_intf.c | ||
usb_ops_linux.c | ||
wifi_regd.c | ||
xmit_linux.c |