]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
r8169: remove "not PCI Express" message
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 19 Nov 2018 21:37:34 +0000 (22:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:32:15 +0000 (17:32 -0800)
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>
drivers/net/ethernet/realtek/r8169.c

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