Skip to content

Commit

Permalink
r8169: remove "not PCI Express" message
Browse files Browse the repository at this point in the history
The ones who want to know can easily identify whether chip is PCI or
PCIe based on the chip name. I doubt there's any benefit in this
message, so remove it.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Heiner Kallweit authored and David S. Miller committed Nov 20, 2018
1 parent 8c0511e commit b10ceb5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ethernet/realtek/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -7291,9 +7291,6 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)

tp->mmio_addr = pcim_iomap_table(pdev)[region];

if (!pci_is_pcie(pdev))
dev_info(&pdev->dev, "not PCI Express\n");

/* Identify chip attached to board */
rtl8169_get_mac_version(tp, cfg->default_ver);

Expand Down

0 comments on commit b10ceb5

Please sign in to comment.