aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-02-13 08:25:59 -0500
committerMauro Carvalho Chehab <[email protected]>2019-02-18 15:32:41 -0500
commitffaec3b21abcce537be166bd023f55986a5b2002 (patch)
tree0465c45b0287a37c1aac51e09cc1ddd4dc503818 /tools/perf/scripts
parent8dd22b289c8fab1dcb13ab038c0228aa74f134ca (diff)
media: exynos4-is: remove redundant check on type
The check to see if type is V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE is redundant as this has been already checked at the start of the function and if it's not that value then -ENOSYS is returned. Hence the sprintf can be replaced by a simpler string copy. Detected by CoverityScan, CID#1309450 ("Logically dead code") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions