summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpt3sas_config.c
diff options
context:
space:
mode:
authorCalvin Owens <calvinowens@fb.com>2016-07-29 06:38:21 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-08-09 03:13:48 +0200
commit98c56ad32c33f0fd6742502bafe7003e4b8c80ed (patch)
tree1953cb1b7d5aa576b3b95f029a1152d8287caf0d /drivers/scsi/mpt3sas/mpt3sas_config.c
parentmpt3sas: Eliminate conditional locking in mpt3sas_scsih_issue_tm() (diff)
downloadlinux-98c56ad32c33f0fd6742502bafe7003e4b8c80ed.tar.xz
linux-98c56ad32c33f0fd6742502bafe7003e4b8c80ed.zip
mpt3sas: Eliminate dead sleep_flag code
With the exception of a single call to wait_for_doorbell_int(), all this conditional sleeping code is dead. So delete it. Signed-off-by: Calvin Owens <calvinowens@fb.com> Acked-by: Chaitra P B <chaitra.basappa@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_config.c')
-rw-r--r--drivers/scsi/mpt3sas/mpt3sas_config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_config.c b/drivers/scsi/mpt3sas/mpt3sas_config.c
index a6914ec99cc0..022f27f3ef6e 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_config.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_config.c
@@ -491,8 +491,7 @@ _config_request(struct MPT3SAS_ADAPTER *ioc, Mpi2ConfigRequest_t
mutex_unlock(&ioc->config_cmds.mutex);
if (issue_host_reset)
- mpt3sas_base_hard_reset_handler(ioc, CAN_SLEEP,
- FORCE_BIG_HAMMER);
+ mpt3sas_base_hard_reset_handler(ioc, FORCE_BIG_HAMMER);
return r;
}