]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scsi: hisi_sas: Stop printing queue count in v3 hardware probe
authorJohn Garry <john.garry@huawei.com>
Tue, 24 Aug 2021 10:00:57 +0000 (18:00 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Sep 2021 03:56:02 +0000 (23:56 -0400)
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>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c

index e3be5743e77b9ac2923b1118badb689a24ede165..f57d9f488a4266e8431610d2d296cba672897884 100644 (file)
@@ -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;