can: c_can: remove wrong comment
Subsystems (3)
PATCH 1/1 can: c_can: remove wrong comment
The comment referred to a status (warning) other than the one that was being managed (active error).
Signed-off-by Dario Binacchi <[email protected]>
---
drivers/net/can/c_can/c_can_main.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/can/c_can/c_can_main.c +0 -1
@@ -952,7 +952,6 @@ static int c_can_handle_state_change(struct net_device *dev,switch (error_type) {case C_CAN_NO_ERROR : -/* error warning state */ cf->can_id |=CAN_ERR_CRTL ; cf->data[1 ] =CAN_ERR_CRTL_ACTIVE ; cf->data[6 ] = bec.txerr;
Signature · 1 line
2.32.0