diff options
Diffstat (limited to 'drivers/net/ethernet/realtek/r8169.c')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 707742207c75..5eb6858ed0a7 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
@@ -4008,8 +4008,6 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
4008 | 4008 | ||
4009 | dev = alloc_etherdev(sizeof (*tp)); | 4009 | dev = alloc_etherdev(sizeof (*tp)); |
4010 | if (!dev) { | 4010 | if (!dev) { |
4011 | if (netif_msg_drv(&debug)) | ||
4012 | dev_err(&pdev->dev, "unable to alloc new ethernet\n"); | ||
4013 | rc = -ENOMEM; | 4011 | rc = -ENOMEM; |
4014 | goto out; | 4012 | goto out; |
4015 | } | 4013 | } |