Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)