Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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();
}

/*****************************************************************************/