diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-09 10:59:40 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-09 10:59:40 +0000 |
commit | 20235d898f6e1fe04b67efccc344467c0c8c7779 (patch) | |
tree | bd22ea135d6076c72c0cf081728a93c4ce4ca8fe /linux/drivers/media/video/gspca/stv06xx | |
parent | f0f562fe7ee44a16459f76484a96bc5a822bc2fc (diff) | |
download | mediapointer-dvb-s2-20235d898f6e1fe04b67efccc344467c0c8c7779.tar.gz mediapointer-dvb-s2-20235d898f6e1fe04b67efccc344467c0c8c7779.tar.bz2 |
gspca - stv06xx: remove needless if check and goto
From: Alexey Klimov <klimov.linux@gmail.com>
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 'linux/drivers/media/video/gspca/stv06xx')
-rw-r--r-- | linux/drivers/media/video/gspca/stv06xx/stv06xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/stv06xx/stv06xx.c b/linux/drivers/media/video/gspca/stv06xx/stv06xx.c index 9dff2e65b..e573c3406 100644 --- a/linux/drivers/media/video/gspca/stv06xx/stv06xx.c +++ b/linux/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) |