diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-07-20 16:27:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-20 21:30:19 -0700 |
commit | cbda50138774eaf5dbce145ebb045424a30880b9 (patch) | |
tree | 71418820db14583959411e0a4626df8db617e2a0 /drivers/net/ethernet/atheros/atl1c | |
parent | 9fb1d03acf472da4b2c588bd6921e815e5991cc6 (diff) | |
download | lwn-cbda50138774eaf5dbce145ebb045424a30880b9.tar.gz lwn-cbda50138774eaf5dbce145ebb045424a30880b9.zip |
atl1c: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/atl1c')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_hw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_hw.c b/drivers/net/ethernet/atheros/atl1c/atl1c_hw.c index 1cda49a28f7f..52fdfe225978 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_hw.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_hw.c @@ -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) |