提交 ce4452e6 编写于 作者: D Dan Carpenter 提交者: 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: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册