mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[media] ov2659: remove NOP assignment
The loop over the ov2659_formats[] array just a few lines above verifies that mf->code matches the selected array entry. Signed-off-by: Baruch Siach <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
1 parent
7289cf4acf
commit
30e0e2ed7c
1 file changed
-1
@@ -1121,7 +1121,6 @@ static int ov2659_set_fmt(struct v4l2_subdev *sd,
|
||||
return -EINVAL;
|
||||
|
||||
mf->colorspace = V4L2_COLORSPACE_SRGB;
|
||||
mf->code = ov2659_formats[index].code;
|
||||
mf->field = V4L2_FIELD_NONE;
|
||||
|
||||
mutex_lock(&ov2659->lock);
|
||||
|
||||
Reference in new issue
Block a user