mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-12-24 21:11:42 +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 |
||
---|---|---|
.. | ||
btc | ||
efuse | ||
hal_hci | ||
led | ||
phydm | ||
rtl8192e | ||
hal_btcoex_wifionly.c | ||
hal_btcoex.c | ||
hal_com_c2h.h | ||
hal_com_phycfg.c | ||
hal_com.c | ||
hal_dm_acs.c | ||
hal_dm_acs.h | ||
hal_dm.c | ||
hal_dm.h | ||
hal_halmac.c | ||
hal_halmac.h | ||
hal_intf.c | ||
hal_mcc.c | ||
hal_mp.c | ||
hal_phy.c | ||
HalPwrSeqCmd.c |