Staging: rtl8188eu: os_dep: mlme_linux.c: Remove explicit NULL comparison
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 11 Sep 2015 05:10:58 +0000 (10:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:25:02 +0000 (18:25 -0700)
commita08cd2b7d0c98047a09b91fc7e18f4ed13dd7753
tree3f9a8ebf6c046313e68ead60a906ba1091bc06c8
parentfc749a9a3d1801c8dee892816eb19d285e06fd41
Staging: rtl8188eu: os_dep: mlme_linux.c: 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/os_dep/mlme_linux.c