]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: rtl8188eu: Remove explicit NULL comparison
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 11 Sep 2015 05:10:53 +0000 (10:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:25:00 +0000 (18:25 -0700)
commite3789b0c54442fef9cdb5541b89b677b76c8673a
tree29641fb4c8be9e0fcaa12a637638a0fb3f5f8eec
parenta544f0edb25fa43c2807c3e21c86bb1f33a2e457
Staging: rtl8188eu: 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/hal/rtl8188e_cmd.c