Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00d9da50 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: ov7740: remove an unused var



Fix this warning regression:
   drivers/media/i2c/ov7740.c: warning: variable 'ret' set but not used [-Wunused-but-set-variable]:  => 276:6

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 9f564184
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ static int ov7740_get_register(struct v4l2_subdev *sd,
	reg->val = val;
	reg->size = 1;

	return 0;
	return ret;
}

static int ov7740_set_register(struct v4l2_subdev *sd,