IB/srp: Get rid of extra scsi_host_put()s if reconnection fails
authorRoland Dreier <rolandd@cisco.com>
Wed, 17 May 2006 16:16:03 +0000 (09:16 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 17 May 2006 16:16:03 +0000 (09:16 -0700)
commitec2d7208494fe599a5ff13b40a0a20c9881f2737
tree32af58729f73b18d08fa8759a3408cb4058c6455
parente65810566f3e613d9baa5512b8724ebde42ace0f
IB/srp: Get rid of extra scsi_host_put()s if reconnection fails

If a reconnection attempt fails, then SRP does two scsi_host_put()s.
This is a historical relic from an earlier version of the driver that
took a reference on the scsi_host before trying to reconnect, so get
rid of the extra scsi_host_put().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c