aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaeseok Youn <[email protected]>2017-03-20 14:42:55 +0000
committerGreg Kroah-Hartman <[email protected]>2017-03-21 08:04:33 +0100
commitc62990801d3beb7e6182c742832128ef3e2b1100 (patch)
treea3e84852c9d88924ea017c544a7f3aa64aa0123d /tools/perf/scripts/python/bin
parent3797616eaa3000f5526aab8ef02000a92fbc5415 (diff)
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 <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions