projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cec5eb7
)
[WATCHDOG] ibmasr: remove unnecessary spin_unlock()
author
Akinobu Mita
<akinobu.mita@gmail.com>
Sat, 13 Sep 2008 09:47:19 +0000
(18:47 +0900)
committer
Wim Van Sebroeck
<wim@iguana.be>
Tue, 23 Sep 2008 08:05:32 +0000
(08:05 +0000)
__asr_toggle() is always called with asr_lock held.
But there is unnecessary spin_unlock() call in __asr_toggle().
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/ibmasr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/ibmasr.c
b/drivers/watchdog/ibmasr.c
index b82405cfb4cd38534bac8235c8720b7382af5a05..89fcefcc8510da969bfb13a99677e4f73faf7463 100644
(file)
--- a/
drivers/watchdog/ibmasr.c
+++ b/
drivers/watchdog/ibmasr.c
@@
-85,7
+85,6
@@
static void __asr_toggle(void)
outb(reg & ~asr_toggle_mask, asr_write_addr);
reg = inb(asr_read_addr);
- spin_unlock(&asr_lock);
}
static void asr_toggle(void)