]> 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, 4 Apr 2012 00:08:24 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 11 Apr 2012 04:45:50 +0000 (14:45 +1000)
commitbb1e88ade24a030f676ace003b0d7a2b5a8dcf15
tree6e57e296af8f1568a7798d69677141c3fb6da463
parent5428fa7298c4171c082dc5f5ed54276b28be4ab5
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