aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/atheros/alx/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/atheros/alx/main.c b/drivers/net/ethernet/atheros/alx/main.c
index 5e5022fa1d04..6d3221134927 100644
--- a/drivers/net/ethernet/atheros/alx/main.c
+++ b/drivers/net/ethernet/atheros/alx/main.c
@@ -1279,7 +1279,6 @@ static void alx_check_link(struct alx_priv *alx)
1279 struct alx_hw *hw = &alx->hw; 1279 struct alx_hw *hw = &alx->hw;
1280 unsigned long flags; 1280 unsigned long flags;
1281 int old_speed; 1281 int old_speed;
1282 u8 old_duplex;
1283 int err; 1282 int err;
1284 1283
1285 /* clear PHY internal interrupt status, otherwise the main 1284 /* clear PHY internal interrupt status, otherwise the main
@@ -1288,7 +1287,6 @@ static void alx_check_link(struct alx_priv *alx)
1288 alx_clear_phy_intr(hw); 1287 alx_clear_phy_intr(hw);
1289 1288
1290 old_speed = hw->link_speed; 1289 old_speed = hw->link_speed;
1291 old_duplex = hw->duplex;
1292 err = alx_read_phy_link(hw); 1290 err = alx_read_phy_link(hw);
1293 if (err < 0) 1291 if (err < 0)
1294 goto reset; 1292 goto reset;