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>
This commit is contained in:
Alexey Klimov 2009-06-09 07:59:40 -03:00 committed by Mauro Carvalho Chehab
parent 27049dc301
commit 226a040e6a

View File

@ -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)