On Thu Feb 20 16:06:35 2025 +0200, Cosmin Tanislav wrote:
> There are no longer variable declarations here, the context is useless.
> 
> Signed-off-by: Cosmin Tanislav <demonsin...@gmail.com>
> Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
> Signed-off-by: Hans Verkuil <hverk...@xs4all.nl>

Patch committed.

Thanks,
Hans Verkuil

 drivers/media/i2c/imx219.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

---

diff --git a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c
index f662c9d75511..fcd98ee54768 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;

Reply via email to