diff options
author | Alexey Klimov <klimov.linux@gmail.com> | 2009-06-09 10:59:40 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 22:07:54 (GMT) |
commit | 226a040e6a95fbedff0c82a10fea4dd42320e79f (patch) | |
tree | 8704b1bb3d8d2c69575ed72cc02d092be71f6188 /drivers/media/video/gspca/stv06xx | |
parent | 27049dc30152ad0401082f32c33859821b4be029 (diff) | |
download | linux-fsl-qoriq-226a040e6a95fbedff0c82a10fea4dd42320e79f.tar.xz |
V4L/DVB (11997): gspca - stv06xx: remove needless if check and goto
Patch removes needless if check and goto.
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Reviewed-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/stv06xx')
-rw-r--r-- | drivers/media/video/gspca/stv06xx/stv06xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.c b/drivers/media/video/gspca/stv06xx/stv06xx.c index 9dff2e6..e573c34 100644 --- a/drivers/media/video/gspca/stv06xx/stv06xx.c +++ b/drivers/media/video/gspca/stv06xx/stv06xx.c @@ -293,8 +293,6 @@ static void stv06xx_stopN(struct gspca_dev *gspca_dev) goto out; err = sd->sensor->stop(sd); - if (err < 0) - goto out; out: if (err < 0) |