mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 18:36:00 +00:00
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:
parent
c80e390d7b
commit
f9f608e38b
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user