diff options
| author | Alison Schofield <[email protected]> | 2016-02-10 23:06:45 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-11 20:00:30 -0800 |
| commit | 27f31cf9f7235cb3aa10860bf4fde5df6893bf52 (patch) | |
| tree | 335fbab90c7dfd5e8a5132d855e00b9528655cd7 /tools/perf/scripts/python | |
| parent | e3b07865f5f6962d83e8b94d2968a9cfab7bdce5 (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 <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions