From: Cosmin Tanislav Date: Thu, 20 Feb 2025 14:06:35 +0000 (+0200) Subject: media: i2c: imx219: remove context around case X-Git-Tag: v6.15-rc1~174^2~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2256456c2671b3414f6ad80914b0420db7ef73da;p=thirdparty%2Fkernel%2Flinux.git media: i2c: imx219: remove context around case There are no longer variable declarations here, the context is useless. Signed-off-by: Cosmin Tanislav Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c index f662c9d755114..fcd98ee54768e 100644 --- a/drivers/media/i2c/imx219.c +++ b/drivers/media/i2c/imx219.c @@ -947,10 +947,9 @@ static int imx219_get_selection(struct v4l2_subdev *sd, struct v4l2_subdev_selection *sel) { switch (sel->target) { - case V4L2_SEL_TGT_CROP: { + case V4L2_SEL_TGT_CROP: sel->r = *v4l2_subdev_state_get_crop(state, 0); return 0; - } case V4L2_SEL_TGT_NATIVE_SIZE: sel->r.top = 0;