]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: speakup: remove NULL comparison
authorAastha Gupta <aastha.gupta4104@gmail.com>
Sun, 17 Sep 2017 20:00:35 +0000 (01:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 09:50:40 +0000 (11:50 +0200)
commitf952ec5f429cf961e1a812591a39c6c5c5852c9c
tree484dd4b933949e459c0eedd72cc022298d891a83
parent08710da3cf932149de3440bbaec4dfdfba5a33df
staging: speakup: remove NULL comparison

This was done using cocccinelle script:
@@
identifier arg;
@@

-arg==NULL
+!arg

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c