diff options
| author | Tobin C. Harding <me@tobin.cc> | 2017-03-22 11:59:54 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-23 14:27:23 +0100 |
| commit | 310e916f54579b2d9a33fd6501cc46acc2d4dc70 (patch) | |
| tree | abda6da13d9419896007ebaa39f27de83bc53f86 /tools/perf/scripts/python | |
| parent | staging: ks7010: add explicit check to memcmp() calls (diff) | |
| download | linux-310e916f54579b2d9a33fd6501cc46acc2d4dc70.tar.gz linux-310e916f54579b2d9a33fd6501cc46acc2d4dc70.zip | |
staging: ks7010: add explicit check to 'size' variables
When checking the value of a variable that holds a 0 an explicit check
is good style. i.e
- if (!size)
+ if (size == 0)
Update checks on 'numerical' variables to use explicit checks.
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
