can: mscan: remove unused struct 'mscan_state'
Subsystems (3)
PATCH 1/1 can: mscan: remove unused struct 'mscan_state'
From: "Dr. David Alan Gilbert" <[email protected]>
'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 <[email protected]>
--- drivers/net/can/mscan/mscan.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/net/can/mscan/mscan.c +0 -6
@@ -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 ,
Signature · 1 line
2.45.1
Quoted 9 lines · On Sun, May 26, 2024 at 12:25:09AM +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
mscan_state' is unused since the original
commitafa17a500a36("net/can: add driver for mscan family &mpc52xx_mscan").Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Reviewed-by Simon Horman <[email protected]>
Quoted 8 lines
'
mscan_state' is unused since the original
commitafa17a500a36("net/can: add driver for mscan family &mpc52xx_mscan").Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Wow, that driver was a long time ago. Thanks for the flashback :)
Reviewed-by Wolfram Sang <[email protected]>