aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/stallion.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/stallion.c')
-rw-r--r--drivers/char/stallion.c2
1 files changed, 0 insertions, 2 deletions
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)
1788 if (tty == NULL) 1788 if (tty == NULL)
1789 return; 1789 return;
1790 1790
1791 lock_kernel();
1792 if (test_bit(ASYI_TXLOW, &portp->istate)) 1791 if (test_bit(ASYI_TXLOW, &portp->istate))
1793 tty_wakeup(tty); 1792 tty_wakeup(tty);
1794 1793
@@ -1802,7 +1801,6 @@ static void stl_offintr(struct work_struct *work)
1802 if (portp->flags & ASYNC_CHECK_CD) 1801 if (portp->flags & ASYNC_CHECK_CD)
1803 tty_hangup(tty); /* FIXME: module removal race here - AKPM */ 1802 tty_hangup(tty); /* FIXME: module removal race here - AKPM */
1804 } 1803 }
1805 unlock_kernel();
1806} 1804}
1807 1805
1808/*****************************************************************************/ 1806/*****************************************************************************/