diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-02-13 14:25:59 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-18 21:32:41 +0100 |
commit | ffaec3b21abcce537be166bd023f55986a5b2002 (patch) | |
tree | 0465c45b0287a37c1aac51e09cc1ddd4dc503818 /drivers/virtio | |
parent | media: v4l2-mem2mem: Correct return type for mem2mem buffer helpers (diff) | |
download | linux-ffaec3b21abcce537be166bd023f55986a5b2002.tar.xz linux-ffaec3b21abcce537be166bd023f55986a5b2002.zip |
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 <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions