]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: rtl8188eu: core: Remove explicit NULL comparison
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 11 Sep 2015 05:10:52 +0000 (10:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:25:00 +0000 (18:25 -0700)
commita544f0edb25fa43c2807c3e21c86bb1f33a2e457
tree1a93abf863886a6dae6f147fcf19069c9775397d
parenta90624cf253cc74e9464b42d54aa4825575edefe
Staging: rtl8188eu: core: Remove explicit NULL comparison

Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:

@replace_rule@
expression e;
@@

-e == NULL
+ !e

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c