diff options
Diffstat (limited to 'drivers/net/e1000/e1000_hw.c')
-rw-r--r-- | drivers/net/e1000/e1000_hw.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/e1000/e1000_hw.c b/drivers/net/e1000/e1000_hw.c index 7501d977d992..1698622af434 100644 --- a/drivers/net/e1000/e1000_hw.c +++ b/drivers/net/e1000/e1000_hw.c | |||
@@ -3080,7 +3080,6 @@ s32 e1000_phy_hw_reset(struct e1000_hw *hw) | |||
3080 | { | 3080 | { |
3081 | u32 ctrl, ctrl_ext; | 3081 | u32 ctrl, ctrl_ext; |
3082 | u32 led_ctrl; | 3082 | u32 led_ctrl; |
3083 | s32 ret_val; | ||
3084 | 3083 | ||
3085 | e_dbg("e1000_phy_hw_reset"); | 3084 | e_dbg("e1000_phy_hw_reset"); |
3086 | 3085 | ||
@@ -3126,11 +3125,7 @@ s32 e1000_phy_hw_reset(struct e1000_hw *hw) | |||
3126 | } | 3125 | } |
3127 | 3126 | ||
3128 | /* Wait for FW to finish PHY configuration. */ | 3127 | /* Wait for FW to finish PHY configuration. */ |
3129 | ret_val = e1000_get_phy_cfg_done(hw); | 3128 | return e1000_get_phy_cfg_done(hw); |
3130 | if (ret_val != E1000_SUCCESS) | ||
3131 | return ret_val; | ||
3132 | |||
3133 | return ret_val; | ||
3134 | } | 3129 | } |
3135 | 3130 | ||
3136 | /** | 3131 | /** |