V4L/DVB (11997): gspca - stv06xx: remove needless if check and goto
authorAlexey Klimov <klimov.linux@gmail.com>
Tue, 9 Jun 2009 10:59:40 +0000 (07:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 22:07:54 +0000 (19:07 -0300)
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>
drivers/media/video/gspca/stv06xx/stv06xx.c

index 9dff2e6..e573c34 100644 (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)