Skip to content

Commit

Permalink
media: vimc: Remove unneeded return statement in vimc_sen_s_stream()
Browse files Browse the repository at this point in the history
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 <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
  • Loading branch information
Niklas Söderlund authored and Mauro Carvalho Chehab committed May 28, 2019
1 parent ee1c71a commit fe97d64
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/platform/vimc/vimc-sensor.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ static int vimc_sen_s_stream(struct v4l2_subdev *sd, int enable)

vfree(vsen->frame);
vsen->frame = NULL;
return 0;
}

return 0;
Expand Down

0 comments on commit fe97d64

Please sign in to comment.