From: Akinobu Mita Date: Sat, 13 Sep 2008 09:47:19 +0000 (+0900) Subject: [WATCHDOG] ibmasr: remove unnecessary spin_unlock() X-Git-Tag: v2.6.27-rc8~33^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7f605ac00416d763c2d9681e378a75e7adbb06e8;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Wim Van Sebroeck Acked-by: Andrey Panin Signed-off-by: Andrew Morton --- diff --git a/drivers/watchdog/ibmasr.c b/drivers/watchdog/ibmasr.c index b82405cfb4c..89fcefcc851 100644 --- 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)