diff options
author | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2022-07-16 19:01:12 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-07-19 20:55:41 +0200 |
commit | 4940eb51fc49c6e89eb7ac4216f1983eec1d1c6f (patch) | |
tree | 825ebb98173267382df9a1270acad509fb8534fd /drivers/net/can/c_can | |
parent | c6887023268e8c92c7409613065db7ba50b25f18 (diff) | |
download | lwn-4940eb51fc49c6e89eb7ac4216f1983eec1d1c6f.tar.gz lwn-4940eb51fc49c6e89eb7ac4216f1983eec1d1c6f.zip |
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/20220716170112.2020291-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/c_can')
-rw-r--r-- | drivers/net/can/c_can/c_can_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/c_can/c_can_main.c b/drivers/net/can/c_can/c_can_main.c index a7362af0babb..ed4db4cf8716 100644 --- a/drivers/net/can/c_can/c_can_main.c +++ b/drivers/net/can/c_can/c_can_main.c @@ -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; |