diff options
| author | Nicolas Saenz Julienne <[email protected]> | 2019-05-09 16:31:36 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-05-20 07:40:42 +0200 |
| commit | 023dbe17dd38ae6b9d232e5f6144ce65befbf84d (patch) | |
| tree | 64073449624654171f10d4839b477dc647a99acc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 77cf3f5dcf35c8f547f075213dbc15146d44cc76 (diff) | |
staging: vchiq: stop explicitly comparing with zero to catch errors
The vchiq code tends to follow a coding pattern that's not accepted as
per the Linux kernel coding style
We have this:
if (expression != 0)
We want this:
if (expression)
We make an exception if the expression refers to a size, in which case
it's accepted for the sake of clarity.
Signed-off-by: Nicolas Saenz Julienne <[email protected]>
Acked-by: Stefan Wahren <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions