diff options
| author | Niklas Söderlund <[email protected]> | 2019-05-18 00:46:54 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-05-28 17:11:51 +0000 |
| commit | fe97d64d72586827f422a5aa49a4b7fb5cbb6932 (patch) | |
| tree | 9681b42a5a53e8b2fbb54bfc59f8c1a07c1a22b3 /drivers/media/platform/vimc/vimc-sensor.c | |
| parent | media: vimc: fix component match compare (diff) | |
| download | kernel-fe97d64d72586827f422a5aa49a4b7fb5cbb6932.tar.gz kernel-fe97d64d72586827f422a5aa49a4b7fb5cbb6932.zip | |
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]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
| -rw-r--r-- | drivers/media/platform/vimc/vimc-sensor.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/vimc/vimc-sensor.c b/drivers/media/platform/vimc/vimc-sensor.c index 081e54204c9f..baca9ca67ce0 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; |
