diff options
Diffstat (limited to 'drivers/net/ethernet/amd/pcnet32.c')
-rw-r--r-- | drivers/net/ethernet/amd/pcnet32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/amd/pcnet32.c b/drivers/net/ethernet/amd/pcnet32.c index 20e6dab0186c..1bb388f62e5b 100644 --- a/drivers/net/ethernet/amd/pcnet32.c +++ b/drivers/net/ethernet/amd/pcnet32.c | |||
@@ -1649,8 +1649,6 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev) | |||
1649 | 1649 | ||
1650 | dev = alloc_etherdev(sizeof(*lp)); | 1650 | dev = alloc_etherdev(sizeof(*lp)); |
1651 | if (!dev) { | 1651 | if (!dev) { |
1652 | if (pcnet32_debug & NETIF_MSG_PROBE) | ||
1653 | pr_err("Memory allocation failed\n"); | ||
1654 | ret = -ENOMEM; | 1652 | ret = -ENOMEM; |
1655 | goto err_release_region; | 1653 | goto err_release_region; |
1656 | } | 1654 | } |