Skip to content

Commit

Permalink
e1000e: Drop a useless statement
Browse files Browse the repository at this point in the history
commit ea7afd3 upstream.

err is set again a few lines below.

Cc: Jesse Brandeburg <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Acked-by: Bruce Allan <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
jdelvare authored and debian-kernel-patches-to-git committed Sep 11, 2011
1 parent e2259b9 commit 6096ffb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -5649,8 +5649,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));
Expand Down

0 comments on commit 6096ffb

Please sign in to comment.