From: David Müller (ELSOFT AG) <d.mueller@elsoft.ch>
Date: Wed, 16 Apr 2014 11:15:59 +0000 (+0200)
Subject: e1000: remove redundant assignment
X-Git-Tag: v2025.01-rc5-pxa1908~15381
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=d2ff5e55c346f012129cbce8b373eafd5f00c9b2;p=u-boot.git

e1000: remove redundant assignment

Signed-off-by: David Mueller <d.mueller@elsoft.ch>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
---

diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index 9a66e68ae0..9d9b259d64 100644
--- a/drivers/net/e1000.c
+++ b/drivers/net/e1000.c
@@ -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: