Commit cbda5013 authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller

atl1c: remove unnecessary break after return

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9fb1d03a
...@@ -639,7 +639,6 @@ int atl1c_phy_init(struct atl1c_hw *hw) ...@@ -639,7 +639,6 @@ int atl1c_phy_init(struct atl1c_hw *hw)
dev_err(&pdev->dev, "Wrong Media type %d\n", dev_err(&pdev->dev, "Wrong Media type %d\n",
hw->media_type); hw->media_type);
return -1; return -1;
break;
} }
ret_val = atl1c_write_phy_reg(hw, MII_BMCR, mii_bmcr_data); ret_val = atl1c_write_phy_reg(hw, MII_BMCR, mii_bmcr_data);
...@@ -682,7 +681,6 @@ int atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex) ...@@ -682,7 +681,6 @@ int atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex)
break; break;
default: default:
return -1; return -1;
break;
} }
if (phy_data & GIGA_PSSR_DPLX) if (phy_data & GIGA_PSSR_DPLX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment