From: Alan Cox Date: Tue, 17 Jul 2007 11:05:24 +0000 (-0700) Subject: stallion: remove unneeded lock_kernel X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d2b56c69c400dfc1a878966efa2b4a4a797a855;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git stallion: remove unneeded lock_kernel Signed-off-by: Alan Cox Cc: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index 1410dfec0173..93d0bb8b4c0f 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c @@ -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(); } /*****************************************************************************/