diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-03-22 03:59:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-23 16:27:23 +0300 |
commit | 310e916f54579b2d9a33fd6501cc46acc2d4dc70 (patch) | |
tree | abda6da13d9419896007ebaa39f27de83bc53f86 /scripts/gdb/linux/utils.py | |
parent | b5ca039ac17594e870a12c68ca8847700aa300dd (diff) | |
download | linux-310e916f54579b2d9a33fd6501cc46acc2d4dc70.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions