diff options
author | Cristina Opriceana <cristina.opriceana@gmail.com> | 2015-03-31 12:51:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-01 17:23:20 +0200 |
commit | 8f94c31feeba8b872ed18d075b57de5d04575d05 (patch) | |
tree | 3b580147f55f887199b370389502ca1b22b314c8 /drivers/staging/iio/meter | |
parent | 025c7da9eeba3a6c77ef9485a4c1c1a797dd7a4e (diff) | |
download | op-kernel-dev-8f94c31feeba8b872ed18d075b57de5d04575d05.zip op-kernel-dev-8f94c31feeba8b872ed18d075b57de5d04575d05.tar.gz |
Staging: iio: iio_simple_dummy: Remove explicit NULL comparison
This patch removes explicit NULL comparison and writes it in its
simpler form. Done 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>
Diffstat (limited to 'drivers/staging/iio/meter')
0 files changed, 0 insertions, 0 deletions