Skip to content

Commit 4940eb5

Browse files
passgatmarckleinebudde
authored andcommitted
can: c_can: remove wrong comment
The comment referred to a status (warning) other than the one that was being managed (active error). Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Dario Binacchi <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent c688702 commit 4940eb5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/can/c_can/c_can_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,6 @@ static int c_can_handle_state_change(struct net_device *dev,
952952

953953
switch (error_type) {
954954
case C_CAN_NO_ERROR:
955-
/* error warning state */
956955
cf->can_id |= CAN_ERR_CRTL;
957956
cf->data[1] = CAN_ERR_CRTL_ACTIVE;
958957
cf->data[6] = bec.txerr;

0 commit comments

Comments
 (0)