aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorAlexey Klimov <klimov.linux@gmail.com>2009-06-09 06:59:40 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:07:54 -0400
commit226a040e6a95fbedff0c82a10fea4dd42320e79f (patch)
tree8704b1bb3d8d2c69575ed72cc02d092be71f6188 /drivers/media/video/gspca
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')
-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 9dff2e65b116..e573c3406324 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)
293 goto out; 293 goto out;
294 294
295 err = sd->sensor->stop(sd); 295 err = sd->sensor->stop(sd);
296 if (err < 0)
297 goto out;
298 296
299out: 297out:
300 if (err < 0) 298 if (err < 0)