diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-01-03 21:06:56 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-01-30 18:46:29 +0100 |
commit | 30e0e2ed7cf60944e810201aeff5974b5959aec5 (patch) | |
tree | edbbf66081dcae2baed0ae18b9e46849322822f4 /drivers/media/i2c/ov2659.c | |
parent | [media] gp8psk: fix spelling mistake: "firmare" -> "firmware" (diff) | |
download | linux-30e0e2ed7cf60944e810201aeff5974b5959aec5.tar.xz linux-30e0e2ed7cf60944e810201aeff5974b5959aec5.zip |
[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 <baruch@tkos.co.il>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/ov2659.c')
-rw-r--r-- | drivers/media/i2c/ov2659.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov2659.c b/drivers/media/i2c/ov2659.c index 1f999e9c0118..6e6367214d40 100644 --- a/drivers/media/i2c/ov2659.c +++ b/drivers/media/i2c/ov2659.c @@ -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); |