Remove stray spin_lock_bh()
authornorly <ny-git@enpas.org>
Tue, 19 Feb 2019 18:59:11 +0000 (19:59 +0100)
committernorly <ny-git@enpas.org>
Tue, 19 Feb 2019 18:59:11 +0000 (19:59 +0100)
module/elmcan.c

index a5b54ecc6379541ba86b23195b4b4a044f9bbd7d..abdf8b561eef2dbd9bb23a2661fca2292d8d3fc0 100644 (file)
@@ -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);