diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-02-27 20:39:25 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | e2e77528a7dc80a9b5ff978a84b40e403ba9809d (patch) | |
tree | b0b7518c9c1c8dce41f2708a06a2cc947a2f15c8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 94889150a1a0173d4c369e272c3f46560a3f7898 (diff) |
staging: wlan-ng: simplify NULL tests
Replace direct comparisons to NULL i.e. 'x == NULL' with '!x' for
consistency. Coccinelle semantic patch used:
@@
identifier func;
expression x;
statement Z;
@@
x = func(...);
if (
(
+ !
x
- == NULL
|
+ !
- NULL ==
x
)
) Z
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions