summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2022-03-17 21:11:11 +0100
committernorly <ny-git@enpas.org>2022-03-17 21:11:11 +0100
commite3bbac3f9ae12f56602547bdb4057f9c8dc545ee (patch)
tree1e5d92efdaf310d13906e4a1dca2332737194074
parent521a2bdc04a021a0e58bd093097b751951caf408 (diff)
Drop superflouous elm->can.state = CAN_STATE_STOPPED;
-rw-r--r--module/elmcan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/elmcan.c b/module/elmcan.c
index a75ddf1..95a8206 100644
--- a/module/elmcan.c
+++ b/module/elmcan.c
@@ -1117,7 +1117,6 @@ static int elmcan_ldisc_open(struct tty_struct *tty)
INIT_WORK(&elm->tx_work, elmcan_ldisc_tx_worker);
/* Configure CAN metadata */
- elm->can.state = CAN_STATE_STOPPED;
elm->can.bitrate_const = elmcan_bitrate_const;
elm->can.bitrate_const_cnt = ARRAY_SIZE(elmcan_bitrate_const);
elm->can.do_set_bittiming = elmcan_do_set_bittiming;