Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

atl1c: remove unnecessary break after return

parent 9fb1d03a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -639,7 +639,6 @@ int atl1c_phy_init(struct atl1c_hw *hw)
			dev_err(&pdev->dev, "Wrong Media type %d\n",
				hw->media_type);
		return -1;
		break;
	}

	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)
		break;
	default:
		return -1;
		break;
	}

	if (phy_data & GIGA_PSSR_DPLX)