summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaeseok Youn <daeseok.youn@gmail.com>2017-03-20 14:42:55 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-21 08:04:33 +0100
commitc62990801d3beb7e6182c742832128ef3e2b1100 (patch)
treea3e84852c9d88924ea017c544a7f3aa64aa0123d /tools/perf/scripts/python/export-to-postgresql.py
parent3797616eaa3000f5526aab8ef02000a92fbc5415 (diff)
downloadlinux-c62990801d3beb7e6182c742832128ef3e2b1100.tar.gz
linux-c62990801d3beb7e6182c742832128ef3e2b1100.zip
staging: atomisp: simplify if statement in atomisp_get_sensor_fps()
If v4l2_subdev_call() gets the global frame interval values, it returned 0 and it could be checked whether numerator is zero or not. If the numerator is not zero, the fps could be calculated in this function. If not, it just returns 0. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions