aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/es2lan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000e/es2lan.c')
-rw-r--r--drivers/net/e1000e/es2lan.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/e1000e/es2lan.c b/drivers/net/e1000e/es2lan.c
index 6ba1228836e7..e50579859e06 100644
--- a/drivers/net/e1000e/es2lan.c
+++ b/drivers/net/e1000e/es2lan.c
@@ -695,8 +695,7 @@ static s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw)
695{ 695{
696 struct e1000_phy_info *phy = &hw->phy; 696 struct e1000_phy_info *phy = &hw->phy;
697 s32 ret_val; 697 s32 ret_val;
698 u16 phy_data; 698 u16 phy_data, index;
699 u16 index;
700 699
701 ret_val = e1e_rphy(hw, GG82563_PHY_DSP_DISTANCE, &phy_data); 700 ret_val = e1e_rphy(hw, GG82563_PHY_DSP_DISTANCE, &phy_data);
702 if (ret_val) 701 if (ret_val)
@@ -746,8 +745,7 @@ static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed,
746 **/ 745 **/
747static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) 746static s32 e1000_reset_hw_80003es2lan(struct e1000_hw *hw)
748{ 747{
749 u32 ctrl; 748 u32 ctrl, icr;
750 u32 icr;
751 s32 ret_val; 749 s32 ret_val;
752 750
753 /* 751 /*