aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c')
-rw-r--r--drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
index 7dd9a4b107e6..64aa44d5dabb 100644
--- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
+++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
@@ -1403,7 +1403,6 @@ netxen_nic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1403 1403
1404 netdev = alloc_etherdev(sizeof(struct netxen_adapter)); 1404 netdev = alloc_etherdev(sizeof(struct netxen_adapter));
1405 if(!netdev) { 1405 if(!netdev) {
1406 dev_err(&pdev->dev, "failed to allocate net_device\n");
1407 err = -ENOMEM; 1406 err = -ENOMEM;
1408 goto err_out_free_res; 1407 goto err_out_free_res;
1409 } 1408 }