diff options
author | John Garry <john.garry@huawei.com> | 2021-08-24 12:00:57 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-09-14 05:56:02 +0200 |
commit | 089226ef6a084470f4665a68ad7eb48fb48db093 (patch) | |
tree | d6b73378d3ca1b896a6877c9b57b2c3570d249ec /drivers/scsi/hisi_sas | |
parent | scsi: hisi_sas: Use managed PCI functions (diff) | |
download | linux-089226ef6a084470f4665a68ad7eb48fb48db093.tar.xz linux-089226ef6a084470f4665a68ad7eb48fb48db093.zip |
scsi: hisi_sas: Stop printing queue count in v3 hardware probe
The number of hardware queues is available from sysfs. Remove the print in
the v3 hardware probe function.
Link: https://lore.kernel.org/r/1629799260-120116-3-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>
Diffstat (limited to 'drivers/scsi/hisi_sas')
-rw-r--r-- | drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c index e3be5743e77b..f57d9f488a42 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +++ b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c @@ -4762,7 +4762,7 @@ hisi_sas_v3_probe(struct pci_dev *pdev, const struct pci_device_id *id) rc = interrupt_preinit_v3_hw(hisi_hba); if (rc) goto err_out_debugfs; - dev_err(dev, "%d hw queues\n", shost->nr_hw_queues); + rc = scsi_add_host(shost, dev); if (rc) goto err_out_free_irq_vectors; |