]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/aha152x.c: remove broken usage of spin_is_locked()
authorAndi Kleen <ak@linux.intel.com>
Wed, 25 Apr 2012 01:03:50 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:27 +0000 (15:17 +1000)
commitebca84868f15b8b28b09ff76beb27ab02593187f
tree0d31630e1a89bd668f861623e473a42fed50af8b
parent2204ee12fcd1103c9956a9ecc196b08e27237ca8
drivers/scsi/aha152x.c: remove broken usage of spin_is_locked()

Remove racy usage of spin_is_locked. The author seems to have been
unclear on the concept of locking.

This is debug code normally not enabled, but I caught it on a tree sweep.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/scsi/aha152x.c