mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-05 02:55:44 +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 |
||
---|---|---|
.. | ||
linux | ||
osdep_service.c |