diff options
author | 2016-11-12 13:19:30 -0500 | |
---|---|---|
committer | 2016-11-13 13:07:26 +0000 | |
commit | ed9125566b80af9f944fdbc69bb3720f786324cb (patch) | |
tree | 3dc09a8ad43daa614032f29a80dd0537349c980f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | staging: iio: tsl2583: updated code comment to match what the code does (diff) | |
download | wireguard-linux-ed9125566b80af9f944fdbc69bb3720f786324cb.tar.xz wireguard-linux-ed9125566b80af9f944fdbc69bb3720f786324cb.zip |
staging: iio: tsl2583: moved code block inside else statement
The check for ch1lux > ch0lux inside tsl2583_get_lux is only valid if
the ratio is not equal to zero. Move the code block inside the else
statement. This does away with the need to initialize the variables to
zero.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions