]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: rtl8723au: core: rtw_sta_mgt: Change form of NULL comparisons
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Sat, 5 Mar 2016 21:17:23 +0000 (02:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commitb747a1e936b614afd4a5ba5b51ae8d00ea53de2c
treee8eee837d320602da675c035c627ee4b05aa5399
parentd31770b32fb40f6087ca9ae7139fedd0d0a27771
staging: rtl8723au: core: rtw_sta_mgt: 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/rtl8723au/core/rtw_sta_mgt.c