]> err.no Git - linux-2.6/commit
fix spinlock usage in hysdn_log_close()
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Tue, 8 May 2007 07:32:38 +0000 (00:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:16 +0000 (11:15 -0700)
commit635244c59c27d3b22c4523d2a951cf553195a966
tree21e49799d046275f51efdb2a0c03fd3f97074858
parent13af68ee335d4d26ef96a133abc94b2ef051be00
fix spinlock usage in hysdn_log_close()

Fix incorrect spinlock use in hysdn_log_close().  The function declared a
spinlock on the stack and used it to 'protect' a shared driver structure.

The patch simply removes the useless code.

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/hysdn/hysdn_proclog.c