Skip to content
Commit 21aedfdf authored by Marek Vasut's avatar Marek Vasut Committed by Marc Kleine-Budde
Browse files

can: slcan: Replace sizeof struct can_frame with CAN_MTU



Use CAN_MTU macro instead of sizeof(struct can_frame) just like the
other drivers do.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 7da29f97
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment