can: mscan: remove unused struct 'mscan_state'

'mscan_state' is unused since the original
commit afa17a500a36 ("net/can: add driver for mscan family &
mpc52xx_mscan").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/all/20240525232509.191735-1-linux@treblig.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Dr. David Alan Gilbert 2024-05-26 00:25:09 +01:00 committed by Marc Kleine-Budde
parent c80e390d7b
commit f9f608e38b

View File

@ -34,12 +34,6 @@ static const struct can_bittiming_const mscan_bittiming_const = {
.brp_inc = 1, .brp_inc = 1,
}; };
struct mscan_state {
u8 mode;
u8 canrier;
u8 cantier;
};
static enum can_state state_map[] = { static enum can_state state_map[] = {
CAN_STATE_ERROR_ACTIVE, CAN_STATE_ERROR_ACTIVE,
CAN_STATE_ERROR_WARNING, CAN_STATE_ERROR_WARNING,