This is a cleanup series of the gs_usb driver. Align the driver more to the kernel coding style, make use of locally defined variables, clean up printouts in various error paths, remove some not needed usb_kill_anchored_urbs() from the shut down paths. This series depends on the PR https://lore.kernel.org/all/20230717180938.230816-1-mkl@xxxxxxxxxxxxxx and the patch https://lore.kernel.org/all/20230718-gs_usb-fix-can-state-v1-1-f19738ae2c23@xxxxxxxxxxxxxx regards, Marc Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> --- Marc Kleine-Budde (11): can: gs_usb: remove leading space from goto labels can: gs_usb: gs_usb_probe(): align block comment can: gs_usb: gs_usb_set_timestamp(): remove return statements form void function can: gs_usb: uniformly use "parent" as variable name for struct gs_usb can: gs_usb: gs_usb_receive_bulk_callback(): make use of netdev can: gs_usb: gs_usb_receive_bulk_callback(): make use of stats can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM can: gs_usb: gs_can_start_xmit(), gs_can_open(): clean up printouts in error path cam: gs_usb: gs_can_close(): don't complain about failed device reset during ndo_stop can: gs_usb: gs_destroy_candev(): remove not needed usb_kill_anchored_urbs() can: gs_usb: gs_usb_disconnect(): remove not needed usb_kill_anchored_urbs() drivers/net/can/usb/gs_usb.c | 112 ++++++++++++++++++++----------------------- 1 file changed, 52 insertions(+), 60 deletions(-) --- base-commit: 13561659276838b7f1ab7214b28fba51795bbdcd change-id: 20230717-gs_usb-cleanups-e7ff177ef040 Best regards, -- Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>