diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index d84dcfeadce392d36fe58835152d1908f950ad62..e0f80ce0cf8f2b4d46f2828148b960d8c377cec9 100644 --- a/drivers/tty/n_gsm.c +++ b/drivers/tty/n_gsm.c @@ -573,7 +573,6 @@ static void gsm_send(struct gsm_mux *gsm, int addr, int cr, int control) int len; u8 cbuf[10]; u8 ibuf[3]; - unsigned long flags; switch (gsm->encoding) { case 0: @@ -603,9 +602,7 @@ static void gsm_send(struct gsm_mux *gsm, int addr, int cr, int control) WARN_ON(1); return; } - spin_lock_irqsave(&gsm->tx_lock, flags); gsm->output(gsm, cbuf, len); - spin_unlock_irqrestore(&gsm->tx_lock, flags); gsm_print_packet("-->", addr, cr, control, NULL, 0); }