diff options
author | Ricardo Ribalda Delgado <ribalda@kernel.org> | 2019-10-24 16:48:32 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-03-12 19:21:44 +0300 |
commit | 791b7be14e93cfdbba59d529483b50f84e53e857 (patch) | |
tree | 9ede41a2ad08c72b148238ba6078c9b9580da006 /drivers/media | |
parent | f1a64f56663e9d03e509439016dcbddd0166b2da (diff) | |
download | linux-791b7be14e93cfdbba59d529483b50f84e53e857.tar.xz |
media: imx214: Remove redundant code
The pad is now checked by v4l2_subdev_call_wappers
call_g_frame_interval-> check_frame_interval-> check_pad
Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/i2c/imx214.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/imx214.c b/drivers/media/i2c/imx214.c index adcaaa8c86d1..4175d06ffd47 100644 --- a/drivers/media/i2c/imx214.c +++ b/drivers/media/i2c/imx214.c @@ -803,7 +803,6 @@ err_rpm_put: static int imx214_g_frame_interval(struct v4l2_subdev *subdev, struct v4l2_subdev_frame_interval *fival) { - fival->pad = 0; fival->interval.numerator = 1; fival->interval.denominator = IMX214_FPS; |