Commit 5d2b56c6 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

stallion: remove unneeded lock_kernel

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b306122d
...@@ -1788,7 +1788,6 @@ static void stl_offintr(struct work_struct *work) ...@@ -1788,7 +1788,6 @@ static void stl_offintr(struct work_struct *work)
if (tty == NULL) if (tty == NULL)
return; return;
lock_kernel();
if (test_bit(ASYI_TXLOW, &portp->istate)) if (test_bit(ASYI_TXLOW, &portp->istate))
tty_wakeup(tty); tty_wakeup(tty);
...@@ -1802,7 +1801,6 @@ static void stl_offintr(struct work_struct *work) ...@@ -1802,7 +1801,6 @@ static void stl_offintr(struct work_struct *work)
if (portp->flags & ASYNC_CHECK_CD) if (portp->flags & ASYNC_CHECK_CD)
tty_hangup(tty); /* FIXME: module removal race here - AKPM */ tty_hangup(tty); /* FIXME: module removal race here - AKPM */
} }
unlock_kernel();
} }
/*****************************************************************************/ /*****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment