scsi: hisi_sas: Remove deferred probe check in hisi_sas_v2_probe()
authorJohn Garry <john.garry@huawei.com>
Tue, 26 Jan 2021 11:04:24 +0000 (19:04 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Jan 2021 04:02:11 +0000 (23:02 -0500)
commit4d287d8bae1f395b5e5d79bc9673dacab7975e36
treeb50b7739473eb48cc127962e832829d1ccb83758
parentfad0a16130b6b4eb0958f4142d82509f90efdcbd
scsi: hisi_sas: Remove deferred probe check in hisi_sas_v2_probe()

The platform_get_irq() check for -EPROBE_DEFER was to ensure that all the
steps to add the SCSI host are not done and then only to realise that the
probe needs to be deferred.

However, since there is now an earlier check for this in
hisi_sas_interrupt_preinit(), this check is superfluous and may be removed.

Link: https://lore.kernel.org/r/1611659068-131975-2-git-send-email-john.garry@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_v2_hw.c