linux/drivers/net/can/usb/kvaser_usb
Marc Kleine-Budde 1c256e3a2c can: kvaser_usb: kvaser_usb_send_cmd(): remove redundant variable actual_len
The function usb_bulk_msg() can be called with a NULL pointer as the
"actual_length" parameter. This patch removes this variable.

Link: https://lore.kernel.org/all/20220124215642.3474154-9-mkl@pengutronix.de
Cc: Jimmy Assarsson <extja@kvaser.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-02-24 08:26:04 +01:00
..
kvaser_usb_core.c can: kvaser_usb: kvaser_usb_send_cmd(): remove redundant variable actual_len 2022-02-24 08:26:04 +01:00
kvaser_usb_hydra.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
kvaser_usb_leaf.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
kvaser_usb.h can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00