media: i2c: s5c73m3: return 0 instead of 'ret'.
Since 'ret' is known to be 0, just return '0'. This fixes a smatch warning: s5c73m3-core.c:439 __s5c73m3_s_stream() warn: missing error code? 'ret' Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
9996b96554
commit
7e5eb42a49
|
@ -435,7 +435,7 @@ static int __s5c73m3_s_stream(struct s5c73m3 *state, struct v4l2_subdev *sd,
|
|||
state->streaming = !!on;
|
||||
|
||||
if (!on)
|
||||
return ret;
|
||||
return 0;
|
||||
|
||||
if (state->apply_fiv) {
|
||||
ret = s5c73m3_set_frame_rate(state);
|
||||
|
|
Loading…
Reference in New Issue