Commit ce4452e6 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mauro Carvalho Chehab

[media] gspca_stv06xx: remove an unneeded check

"err" is zero here so we don't need to check again.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 61f03191
...@@ -178,7 +178,7 @@ static int vv6410_stop(struct sd *sd) ...@@ -178,7 +178,7 @@ static int vv6410_stop(struct sd *sd)
PDEBUG(D_STREAM, "Halting stream"); PDEBUG(D_STREAM, "Halting stream");
return (err < 0) ? err : 0; return 0;
} }
static int vv6410_dump(struct sd *sd) static int vv6410_dump(struct sd *sd)
......
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