1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-09-20 05:00:36 +00:00
rtl8812au/os_dep/linux
Christian Bremvåg 0a4ce9dddc
staging: replace explicit NULL comparison
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
2019-08-16 23:10:38 +02:00
..
custom_gpio_linux.c Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
ioctl_cfg80211.c Upstream changed wireless band 2019-08-16 18:22:55 +02:00
ioctl_cfg80211.h Upload new v5.6.4.1 branch 2019-06-22 15:16:29 +02:00
ioctl_linux.c Fix incorrect response to SIOCGIWESSID 2019-08-16 22:53:33 +02:00
ioctl_mp.c Remove SetPowerTracking() and GetPowerTracking() 2019-08-16 17:36:52 +02:00
mlme_linux.c Remove signal handling from driver (software) 2019-08-16 22:11:06 +02:00
os_intfs.c Remove signal handling from driver (software) 2019-08-16 22:11:06 +02:00
recv_linux.c Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
rhashtable.c Uploading the v5.3.4 version 2018-08-24 22:52:34 +02:00
rhashtable.h Uploading the v5.3.4 version 2018-08-24 22:52:34 +02:00
rtw_android.c Remove private ioctl's 2019-08-16 18:19:34 +02:00
rtw_cfgvendor.c Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
rtw_cfgvendor.h Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
rtw_proc.h Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
rtw_rhashtable.c Uploading the v5.3.4 version 2018-08-24 22:52:34 +02:00
rtw_rhashtable.h Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
usb_intf.c Pushing minor cleanups .. 2019-08-16 22:49:56 +02:00
usb_ops_linux.c Upload new v5.6.4 driver 2019-05-24 21:43:57 +02:00
wifi_regd.c Upstream changed wireless band 2019-08-16 18:22:55 +02:00
xmit_linux.c staging: replace explicit NULL comparison 2019-08-16 23:10:38 +02:00