]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IPMI: remove bogus semaphore from watchdog
authorCorey Minyard <cminyard@mvista.com>
Thu, 18 Oct 2007 10:07:08 +0000 (03:07 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:32 +0000 (14:37 -0700)
commitf8fbcd3b9da5830fded133dbeb7066b1b92ee736
tree7967280913d05d2d506a7929d6467dc7c0ceb4b2
parentc45adc39156dfb0a296df218d62ba8b68cadf12e
IPMI: remove bogus semaphore from watchdog

Lockdep was giving an error when loading the IPMI watchdog module.  It turns
out that if you try to claim a lock in a parameter handling routine, lockdep
won't see that lock as "static" yet because the module is not yet on the
module list, so it will complain.

However, the semaphore in question is completely unnecessary.  So just remove
it.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_watchdog.c