From: Alan Cox Date: Tue, 17 Jul 2007 11:05:24 +0000 (-0700) Subject: stallion: remove unneeded lock_kernel X-Git-Tag: v2.6.23-rc1~600 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d2b56c69c400dfc1a878966efa2b4a4a797a855;p=platform%2Fupstream%2Fkernel-adaptation-pc.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 1410dfe..93d0bb8 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(); } /*****************************************************************************/