git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f94c31
)
Staging: iio: meter: Remove explicit NULL comparison
author
Cristina Opriceana
<cristina.opriceana@gmail.com>
Tue, 31 Mar 2015 10:01:18 +0000
(13:01 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:23:20 +0000
(17:23 +0200)
This patch removes explicit NULL comparison and replaces it with
its shorter form. Detected with coccinelle.
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found