summaryrefslogtreecommitdiff
path: root/drivers/net/can/mscan
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-26 02:25:09 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2024-06-20 12:57:39 +0300
commitf9f608e38b9cff2dfa6fc80fe9792a0441379d60 (patch)
tree67ec2e5570edb0f7892654973ed9bc9347b584e8 /drivers/net/can/mscan
parentc80e390d7b47b6b3f4ca7e16c05ec073a406172e (diff)
downloadlinux-f9f608e38b9cff2dfa6fc80fe9792a0441379d60.tar.xz
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>
Diffstat (limited to 'drivers/net/can/mscan')
-rw-r--r--drivers/net/can/mscan/mscan.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index a6829cdc0e81..8c2a7bc64d3d 100644
--- a/drivers/net/can/mscan/mscan.c
+++ b/drivers/net/can/mscan/mscan.c
@@ -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,