drivers: staging: rtl8712: Change form of NULL comparisons
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Sat, 5 Mar 2016 21:21:42 +0000 (02:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commit6806be3184132451a3e10cee7a52f0a8e9c4cea9
tree6920e16562abcdd021bc6aad613a09a1546131a7
parent40430f0ce24111cf616a51c704ecb371858e2028
drivers: staging: rtl8712: Change form of NULL comparisons

Change null comparisons of the form x == NULL to !x.
This was done using Coccinelle.

@@
expression e;
@@
- e == NULL
+ !e

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/recv_linux.c