mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-05 11:00:45 +00:00
0a4ce9dddc
Replace explicit NULL comparison with ! operator to simplify code. Found with Coccinelle script: @@ expression ptr; position p; statement s0; @@ ptr@p = \(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\|usb_alloc_urb\| alloc_netdev\|dev_alloc_skb\)(...) ... when != ptr if ( ( + ! ptr - == NULL ) ) s0 |
||
---|---|---|
.. | ||
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.h | ||
rtw_rhashtable.c | ||
rtw_rhashtable.h | ||
usb_intf.c | ||
usb_ops_linux.c | ||
wifi_regd.c | ||
xmit_linux.c |