diff mbox series

[08/50] staging: media: imx: imx7-media-csi: Drop unused frame_interval

Message ID 20220510115859.19777-9-laurent.pinchart@ideasonboard.com
State Accepted
Commit 85f8673fa155793199cd1835bee9d68634db9ff7
Headers show
Series [01/50] staging: media: imx: imx7-media-csi: Initialize locks early on | expand

Commit Message

Laurent Pinchart May 10, 2022, 11:58 a.m. UTC
The frame_interval field of the imx7_csi structure is set but never
used. Drop it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/staging/media/imx/imx7-media-csi.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c
index e0b600580c21..cd063c4f3f40 100644
--- a/drivers/staging/media/imx/imx7-media-csi.c
+++ b/drivers/staging/media/imx/imx7-media-csi.c
@@ -181,7 +181,6 @@  struct imx7_csi {
 
 	struct v4l2_mbus_framefmt format_mbus[IMX7_CSI_PADS_NUM];
 	const struct imx_media_pixfmt *cc[IMX7_CSI_PADS_NUM];
-	struct v4l2_fract frame_interval[IMX7_CSI_PADS_NUM];
 
 	void __iomem *regbase;
 	int irq;
@@ -1056,10 +1055,6 @@  static int imx7_csi_registered(struct v4l2_subdev *sd)
 					      &csi->cc[i]);
 		if (ret < 0)
 			return ret;
-
-		/* init default frame interval */
-		csi->frame_interval[i].numerator = 1;
-		csi->frame_interval[i].denominator = 30;
 	}
 
 	csi->vdev = imx_media_capture_device_init(csi->sd.dev, &csi->sd,