gspca_stv06xx: remove an unneeded check
Subsystems (3)
PATCH 1/1 gspca_stv06xx: remove an unneeded check
"err" is zero here so we don't need to check again.
Signed-off-by Dan Carpenter <[email protected]>
drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c +1 -1
@@ -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)
Hi,
Quoted 10 lines · Dan Carpenter
"err" is zero here so we don't need to check again.
Signed-off-by Dan Carpenter <[email protected]>drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c +0
-0
drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c static int vv6410_stop(struct sd *sd) · line 184
Quoted 8 lines
drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c +1
-1@@ -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)
Thanks I've added this to my gspca tree for 3.15.
Regards,
Hans