media: rkisp1: isp: Don't initialize ret to 0 in rkisp1_isp_s_stream()

The ret variable doesn't need to be initialized in
rkisp1_isp_s_stream().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Dafna Hirschfeld <dafna@fastmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
Laurent Pinchart 2022-06-14 20:10:57 +01:00 committed by Mauro Carvalho Chehab
parent 3061c659ff
commit c4a1d392ac
1 changed files with 1 additions and 1 deletions

View File

@ -751,7 +751,7 @@ static int rkisp1_isp_s_stream(struct v4l2_subdev *sd, int enable)
container_of(sd->v4l2_dev, struct rkisp1_device, v4l2_dev);
struct rkisp1_isp *isp = &rkisp1->isp;
struct v4l2_subdev *sensor_sd;
int ret = 0;
int ret;
if (!enable) {
v4l2_subdev_call(rkisp1->active_sensor->sd, video, s_stream,