summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2019-02-19 19:59:11 +0100
committernorly <ny-git@enpas.org>2019-02-19 19:59:11 +0100
commit744e0f3efe073d2551ffa551f674bd5be44e4296 (patch)
tree810b6359d7308eef0725de67213d37708d7a321e
parent9afbe26bdd61572fadcac7a95e8b0cdb5e2aa180 (diff)
Remove stray spin_lock_bh()
-rw-r--r--module/elmcan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/elmcan.c b/module/elmcan.c
index a5b54ec..abdf8b5 100644
--- a/module/elmcan.c
+++ b/module/elmcan.c
@@ -993,7 +993,6 @@ static void elmcan_ldisc_rx(struct tty_struct *tty,
if (fp && *fp++) {
netdev_err(elm->dev, "Error in received character stream. Check your wiring.");
- spin_lock_bh(&elm->lock);
elm327_hw_failure(elm);
spin_unlock_bh(&elm->lock);