From: norly Date: Tue, 19 Feb 2019 18:59:11 +0000 (+0100) Subject: Remove stray spin_lock_bh() X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=744e0f3efe073d2551ffa551f674bd5be44e4296;p=elmcan.git Remove stray spin_lock_bh() --- 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);