diff options
author | Alison Schofield <amsfield22@gmail.com> | 2016-02-11 07:06:45 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-12 04:00:30 (GMT) |
commit | 27f31cf9f7235cb3aa10860bf4fde5df6893bf52 (patch) | |
tree | 335fbab90c7dfd5e8a5132d855e00b9528655cd7 /drivers/iio/gyro | |
parent | e3b07865f5f6962d83e8b94d2968a9cfab7bdce5 (diff) | |
download | linux-27f31cf9f7235cb3aa10860bf4fde5df6893bf52.tar.xz |
staging: vt6656: replace explicit NULL comparison with ! operator
Replace explicit NULL comparison with ! operator to simplify code.
Found with Coccinelle:
@@
expression e;
statement s0, s1;
@@
if (
(
+ !
e
- == NULL
|| ...
)
) s0 else s1
Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/gyro')
0 files changed, 0 insertions, 0 deletions