e1000: remove redundant assignment
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>
Wed, 16 Apr 2014 11:15:59 +0000 (13:15 +0200)
committerTom Rini <trini@ti.com>
Fri, 18 Apr 2014 20:14:10 +0000 (16:14 -0400)
Signed-off-by: David Mueller <d.mueller@elsoft.ch>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/e1000.c

index 9a66e68ae0debb57373d611d8314646123a11e99..9d9b259d644af00b61bb838a31d6ea91c4a25f0e 100644 (file)
@@ -4532,7 +4532,6 @@ static int e1000_set_phy_type (struct e1000_hw *hw)
                        hw->mac_type == e1000_82547 ||
                        hw->mac_type == e1000_82547_rev_2) {
                        hw->phy_type = e1000_phy_igp;
-                       hw->phy_type = e1000_phy_igp;
                        break;
                }
        case IGP03E1000_E_PHY_ID: