projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b306122
)
stallion: remove unneeded lock_kernel
author
Alan Cox
<
[email protected]
>
Tue, 17 Jul 2007 11:05:24 +0000
(
04:05
-0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 17 Jul 2007 17:23:10 +0000
(10:23 -0700)
Signed-off-by: Alan Cox <
[email protected]
>
Cc: Jiri Slaby <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/char/stallion.c
patch
|
blob
|
history
diff --git
a/drivers/char/stallion.c
b/drivers/char/stallion.c
index 1410dfec0173922d2e22d250a36e5befd98e0380..93d0bb8b4c0fadac7cc6a27e94d9675c2e374849 100644
(file)
--- 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();
}
/*****************************************************************************/