e1000e: Drop a useless statement
authorJean Delvare <jdelvare@suse.de>
Mon, 26 Jul 2010 12:20:43 +0000 (12:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2010 01:42:52 +0000 (18:42 -0700)
err is set again a few lines below.

Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c

index 6aa795a6160b0e857f9cb0ecd5dd367a3f3ab9f4..afd01295fbec3d8346e18670f3aced43622df2bb 100644 (file)
@@ -5650,8 +5650,6 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
        if (err)
                goto err_sw_init;
 
-       err = -EIO;
-
        memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops));
        memcpy(&hw->nvm.ops, ei->nvm_ops, sizeof(hw->nvm.ops));
        memcpy(&hw->phy.ops, ei->phy_ops, sizeof(hw->phy.ops));