Message ID | 20190518004654.12719-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | vimc: Remove unneeded return statement in vimc_sen_s_stream() | expand |
diff --git a/drivers/media/platform/vimc/vimc-sensor.c b/drivers/media/platform/vimc/vimc-sensor.c index 081e54204c9f4ece..baca9ca67ce0af0b 100644 --- a/drivers/media/platform/vimc/vimc-sensor.c +++ b/drivers/media/platform/vimc/vimc-sensor.c @@ -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;
The other subdevice implementations in vimc (debayer and scaler) which share there code structure with the sensor does not have an explicit return statement at the end of the s_stream(0) code path. Align the sensor subdevices by dropping the return statement. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> --- drivers/media/platform/vimc/vimc-sensor.c | 1 - 1 file changed, 1 deletion(-)