IB/srp: Simplify SCSI error handling
authorBart Van Assche <bvanassche@acm.org>
Wed, 24 Oct 2012 13:05:37 +0000 (15:05 +0200)
committerRoland Dreier <roland@purestorage.com>
Sat, 1 Dec 2012 01:40:30 +0000 (17:40 -0800)
commit224db157431299582a65fb9d4c9228363146f8a9
tree291f4deab272d230a699d55cefb129a0c816d110
parentf3718231203a165dbfd5c5bd0d9a6db522bb73e3
IB/srp: Simplify SCSI error handling

Since scsi_remove_host() has been modified so that SCSI error handling
functions will no longer be invoked after scsi_remove_host() returns,
the test at the start of srp_send_tsk_mgmt() is now superfluous.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c