From: Alexey Klimov Date: Tue, 9 Jun 2009 10:59:40 +0000 (-0300) Subject: V4L/DVB (11997): gspca - stv06xx: remove needless if check and goto X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=226a040e6a95fbedff0c82a10fea4dd42320e79f;p=linux-beck.git V4L/DVB (11997): gspca - stv06xx: remove needless if check and goto Patch removes needless if check and goto. Signed-off-by: Alexey Klimov Reviewed-by: Erik Andrén Signed-off-by: Mauro Carvalho Chehab --- 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) goto out; err = sd->sensor->stop(sd); - if (err < 0) - goto out; out: if (err < 0)