Commit 226a040e authored by Alexey Klimov's avatar Alexey Klimov Committed by Mauro Carvalho Chehab

V4L/DVB (11997): gspca - stv06xx: remove needless if check and goto

Patch removes needless if check and goto.
Signed-off-by: default avatarAlexey Klimov <klimov.linux@gmail.com>
Reviewed-by: default avatarErik Andrén <erik.andren@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 27049dc3
...@@ -293,8 +293,6 @@ static void stv06xx_stopN(struct gspca_dev *gspca_dev) ...@@ -293,8 +293,6 @@ static void stv06xx_stopN(struct gspca_dev *gspca_dev)
goto out; goto out;
err = sd->sensor->stop(sd); err = sd->sensor->stop(sd);
if (err < 0)
goto out;
out: out:
if (err < 0) if (err < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment