diff options
author | Zeng Jingxiang <linuszeng@tencent.com> | 2022-07-28 18:12:36 +0800 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-08-30 07:30:20 +0200 |
commit | d682869daa23938b5e8919db45c4b5b227749712 (patch) | |
tree | 88e386efcfe2e515083cfd2ae1e9c11a2dcc67e2 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 2b064d91440b33fba5b452f2d1b31f13ae911d71 (diff) |
media: tm6000: Fix unused value in vidioc_try_fmt_vid_cap()
Coverity warns of an unused value:
assigned_value: Assign the value of the variable f->fmt.pix.field
to field here, but that stored value is overwritten.
before it can be used.
919 field = f->fmt.pix.field;
920
value_overwrite: Overwriting previous write to field with
the value of V4L2_FIELD_INTERLACED.
921 field = V4L2_FIELD_INTERLACED;
Fixes: ed57256f6fe8 ("[media] tm6000: fix G/TRY_FMT")
Signed-off-by: Zeng Jingxiang <linuszeng@tencent.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions