can: remove obsolete get_canfd_dlc() macro
authorOliver Hartkopp <socketcan@hartkopp.net>
Tue, 10 Nov 2020 10:18:47 +0000 (11:18 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 20 Nov 2020 08:43:30 +0000 (09:43 +0100)
commitcd1124e76d740327be5d8f9ce3785ce1119daf4b
tree78b95de46f5597c51595e822bb1a1c1387c79fb6
parent69d98969a0540039fc04e0f22bbe9f41b0a13d66
can: remove obsolete get_canfd_dlc() macro

The macro was always used together with can_dlc2len() which sanitizes the
given dlc value on its own.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/r/20201110101852.1973-4-socketcan@hartkopp.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c
drivers/net/can/peak_canfd/peak_canfd.c
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
include/linux/can/dev.h
include/linux/can/dev/peak_canfd.h