scsi: hisi_sas: Remove sleep after issue phy reset if sas_smp_phy_control() fails
authorLuo Jiaxing <luojiaxing@huawei.com>
Fri, 6 Sep 2019 12:55:28 +0000 (20:55 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Sep 2019 02:28:56 +0000 (22:28 -0400)
commit76dd768b4471848672b4689aa926e9910c52a158
tree8ecf3e8ac12b3150082d23228b99cfc756fb052c
parentc2bae4f7d721e06e6bb8d1174ec7f8ff7604892c
scsi: hisi_sas: Remove sleep after issue phy reset if sas_smp_phy_control() fails

At expander environment, we delay after issue phy reset to wait for
hardware to handle phy reset. But if sas_smp_phy_control() fails, the
delay is unnecessary so remove it.

Link: https://lore.kernel.org/r/1567774537-20003-5-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c