summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/stv06xx
diff options
context:
space:
mode:
authorAlexey Klimov <klimov.linux@gmail.com>2009-06-09 07:59:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 19:07:54 -0300
commit226a040e6a95fbedff0c82a10fea4dd42320e79f (patch)
tree8704b1bb3d8d2c69575ed72cc02d092be71f6188 /drivers/media/video/gspca/stv06xx
parent27049dc30152ad0401082f32c33859821b4be029 (diff)
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.c2
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 9dff2e65b11..e573c340632 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)