Skip to content

Commit

Permalink
atl1c: remove unnecessary break after return
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Fabian Frederick authored and David S. Miller committed Jul 21, 2014
1 parent 9fb1d03 commit cbda501
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/atheros/atl1c/atl1c_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit cbda501

Please sign in to comment.