staging: rtl8712: Replace explicit NULL comparison
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Thu, 18 Feb 2016 18:54:30 +0000 (00:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:18:33 +0000 (15:18 -0800)
commit7cb07dc4e4431546979242f86f4cf5af233bb860
tree3081842d488be49f264accf66f8da10913110dad
parent8c5af16f7953edb709d2f93ce69ea9da7dbfab40
staging: rtl8712: Replace explicit NULL comparison

Replace explicit NULL comparison with ! operator.
Found with 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/xmit_linux.c