1
linux/drivers/infiniband
Ishai Rabinovitz 0c5b395239 IB/srp: Clean up loop in srp_remove_one()
Interrupts will always be enabled in srp_remove_one(), so
spin_lock_irq() can be used instead of spin_lock_irqsave().
Also, the loop takes target->scsi_host->host_lock, so target->state
can just be set to SRP_TARGET_REMOVED witout testing the old value.

Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-06-17 20:37:31 -07:00
..
core IB: Make needlessly global ib_mad_cache static 2006-06-17 20:37:31 -07:00
hw IB/mthca: Convert FW commands to use wait_for_completion_timeout() 2006-06-17 20:37:30 -07:00
ulp IB/srp: Clean up loop in srp_remove_one() 2006-06-17 20:37:31 -07:00
Kconfig IB: address translation to map IP toIB addresses (GIDs) 2006-06-17 20:37:28 -07:00
Makefile IB/ipath: kbuild infrastructure 2006-03-31 13:14:21 -08:00