Skip to content

Commit

Permalink
net: ena: remove redundant print of number of queues
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sameeh Jubran authored and David S. Miller committed Oct 7, 2019
1 parent 736ce3f commit 9f648f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/amazon/ena/ena_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9f648f7

Please sign in to comment.