diff options
| author | 2016-02-10 23:06:45 -0800 | |
|---|---|---|
| committer | 2016-02-11 20:00:30 -0800 | |
| commit | 27f31cf9f7235cb3aa10860bf4fde5df6893bf52 (patch) | |
| tree | 335fbab90c7dfd5e8a5132d855e00b9528655cd7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | staging: gdm724x: Remove unneeded parentheses (diff) | |
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 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
