You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
stallion: remove unneeded lock_kernel
Signed-off-by: Alan Cox <alan@redhat.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -1788,7 +1788,6 @@ static void stl_offintr(struct work_struct *work)
|
||||
if (tty == NULL)
|
||||
return;
|
||||
|
||||
lock_kernel();
|
||||
if (test_bit(ASYI_TXLOW, &portp->istate))
|
||||
tty_wakeup(tty);
|
||||
|
||||
@@ -1802,7 +1801,6 @@ static void stl_offintr(struct work_struct *work)
|
||||
if (portp->flags & ASYNC_CHECK_CD)
|
||||
tty_hangup(tty); /* FIXME: module removal race here - AKPM */
|
||||
}
|
||||
unlock_kernel();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user