OSDN Git Service

net: ena: remove redundant print of number of queues
authorSameeh Jubran <sameehj@amazon.com>
Sun, 6 Oct 2019 12:33:27 +0000 (15:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Oct 2019 13:30:03 +0000 (09:30 -0400)
The number of queues can be derived using ethtool, no need to print
it in ena_probe()

Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c

index e715681..6386554 100644 (file)
@@ -3605,9 +3605,9 @@ static int ena_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
                queue_type_str = "Low Latency";
 
        dev_info(&pdev->dev,
-                "%s found at mem %lx, mac addr %pM Queues %d, Placement policy: %s\n",
+                "%s found at mem %lx, mac addr %pM, Placement policy: %s\n",
                 DEVICE_NAME, (long)pci_resource_start(pdev, 0),
-                netdev->dev_addr, max_num_io_queues, queue_type_str);
+                netdev->dev_addr, queue_type_str);
 
        set_bit(ENA_FLAG_DEVICE_RUNNING, &adapter->flags);