mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 20:37:27 +00:00
[media] gspca_stv06xx: remove an unneeded check
"err" is zero here so we don't need to check again. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
61f0319193
commit
ce4452e65d
@ -178,7 +178,7 @@ static int vv6410_stop(struct sd *sd)
|
||||
|
||||
PDEBUG(D_STREAM, "Halting stream");
|
||||
|
||||
return (err < 0) ? err : 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int vv6410_dump(struct sd *sd)
|
||||
|
Loading…
Reference in New Issue
Block a user