From 5d2b56c69c400dfc1a878966efa2b4a4a797a855 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 17 Jul 2007 04:05:24 -0700 Subject: [PATCH] stallion: remove unneeded lock_kernel Signed-off-by: Alan Cox Cc: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/char/stallion.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index 1410dfec01..93d0bb8b4c 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(); } /*****************************************************************************/ -- 2.20.1