};
 
 static void imx290_ctrl_update(struct imx290 *imx290,
-                              const struct v4l2_mbus_framefmt *format,
                               const struct imx290_mode *mode)
 {
        unsigned int hblank_min = mode->hmax_min - mode->width;
        if (fmt->which == V4L2_SUBDEV_FORMAT_ACTIVE) {
                imx290->current_mode = mode;
 
-               imx290_ctrl_update(imx290, &fmt->format, mode);
+               imx290_ctrl_update(imx290, mode);
                imx290_exposure_update(imx290, mode);
        }
 
 static int imx290_subdev_init(struct imx290 *imx290)
 {
        struct i2c_client *client = to_i2c_client(imx290->dev);
-       const struct v4l2_mbus_framefmt *format;
        struct v4l2_subdev_state *state;
        int ret;
 
        }
 
        state = v4l2_subdev_lock_and_get_active_state(&imx290->sd);
-       format = v4l2_subdev_get_pad_format(&imx290->sd, state, 0);
-       imx290_ctrl_update(imx290, format, imx290->current_mode);
+       imx290_ctrl_update(imx290, imx290->current_mode);
        v4l2_subdev_unlock_state(state);
 
        return 0;