Staging: speakup: varhandlers.c: Remove explicit NULL comparison
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 11 Sep 2015 06:02:29 +0000 (11:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:59 +0000 (18:24 -0700)
commitff52fc380db676398fe92e2a3c802ecb41bc535e
tree4d0e0219e1170a8f5a85c8d3fc6d6aec682b8692
parent412ef9933e403bb863ec6ac29e671dd832c4638b
Staging: speakup: varhandlers.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/speakup/varhandlers.c