projects
/
elmcan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
521a2bd
)
Drop superflouous elm->can.state = CAN_STATE_STOPPED;
author
norly
<ny-git@enpas.org>
Thu, 17 Mar 2022 20:11:11 +0000
(21:11 +0100)
committer
norly
<ny-git@enpas.org>
Thu, 17 Mar 2022 20:11:11 +0000
(21:11 +0100)
module/elmcan.c
patch
|
blob
|
history
diff --git
a/module/elmcan.c
b/module/elmcan.c
index a75ddf1c3b4288d773333bf7f9828168f067bf1c..95a82069dd6740793dba256a0dbcb304c9d34f34 100644
(file)
--- 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;