summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/tw9910.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/tw9910.c')
-rw-r--r--drivers/media/i2c/tw9910.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/i2c/tw9910.c b/drivers/media/i2c/tw9910.c
index 7c331a7f12d4..905af98c7d53 100644
--- a/drivers/media/i2c/tw9910.c
+++ b/drivers/media/i2c/tw9910.c
@@ -829,8 +829,6 @@ static int tw9910_set_fmt(struct v4l2_subdev *sd,
if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE)
return tw9910_s_fmt(sd, mf);
- *v4l2_subdev_state_get_format(sd_state, 0) = *mf;
-
return 0;
}