Skip to content

Commit fe97d64

Browse files
Niklas Söderlundmchehab
authored andcommitted
media: vimc: Remove unneeded return statement in vimc_sen_s_stream()
The other subdevice implementations in vimc (debayer and scaler) which share their code structure with the sensor do not have an explicit return statement at the end of the s_stream(0) code path. Align the sensor subdevice by dropping the return statement. Signed-off-by: Niklas Söderlund <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent ee1c71a commit fe97d64

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/media/platform/vimc/vimc-sensor.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ static int vimc_sen_s_stream(struct v4l2_subdev *sd, int enable)
221221

222222
vfree(vsen->frame);
223223
vsen->frame = NULL;
224-
return 0;
225224
}
226225

227226
return 0;

0 commit comments

Comments
 (0)