rtl8812au-chinawrj/os_dep
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
..
linux staging: replace explicit NULL comparison 2019-08-16 23:10:38 +02:00
osdep_service.c Hard disable old debug read/write file functions 2019-08-16 18:47:04 +02:00