diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-17 04:05:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 10:23:10 -0700 |
commit | 5d2b56c69c400dfc1a878966efa2b4a4a797a855 (patch) | |
tree | bc5a4d5b2b817a406130ff43d2e8b0d5b580ba0a /drivers/char | |
parent | b306122df9f9dbec7751133073b4d19b9197d22e (diff) | |
download | op-kernel-dev-5d2b56c69c400dfc1a878966efa2b4a4a797a855.zip op-kernel-dev-5d2b56c69c400dfc1a878966efa2b4a4a797a855.tar.gz |
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/stallion.c | 2 |
1 files changed, 0 insertions, 2 deletions
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(); } /*****************************************************************************/ |