[WATCHDOG] ibmasr: remove unnecessary spin_unlock()

__asr_toggle() is always called with asr_lock held.
But there is unnecessary spin_unlock() call in __asr_toggle().

Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Acked-by: Andrey Panin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
This commit is contained in:
Akinobu Mita 2008-09-13 18:47:19 +09:00 • committed by Wim Van Sebroeck
commit 7f605ac004

View file

@ -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)