author: Changhuang Liang <changhuang.liang@starfivetech.com> 2023-07-10 15:57:07 +0800
committer: Changhuang Liang <changhuang.liang@starfivetech.com> 2023-07-10 15:57:07 +0800
commit: 888c645f854693f5d2c2b536feef8d7136490f04
parent: 96a12e3b92941d8e6b8015679162e8fef03ab0f2
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/media/platform/starfive/v4l2_driver/stf_video.c b/drivers/media/platform/starfive/v4l2_driver/stf_video.c
index 83ff347615f9..ac8f98a8cec9 100644
--- a/drivers/media/platform/starfive/v4l2_driver/stf_video.c
+++ b/drivers/media/platform/starfive/v4l2_driver/stf_video.c
@@ -934,7 +934,7 @@ static int video_pipeline_s_fmt(struct stfcamss_video *video,
struct v4l2_pix_format *pix = &f->fmt.pix;
struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp;
struct media_entity *sensor;
- u32 width, height, code;
+ u32 width, height;
struct media_pad *pad;
/* pix to mbus format */