mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
can: mscan: remove unused struct 'mscan_state'
'mscan_state' is unused since the original
commit afa17a500a ("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,
|
||||
};
|
||||
|
||||
struct mscan_state {
|
||||
u8 mode;
|
||||
u8 canrier;
|
||||
u8 cantier;
|
||||
};
|
||||
|
||||
static enum can_state state_map[] = {
|
||||
CAN_STATE_ERROR_ACTIVE,
|
||||
CAN_STATE_ERROR_WARNING,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user