atl1c: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Sun, 20 Jul 2014 14:27:54 +0000 (16:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 04:30:19 +0000 (21:30 -0700)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_hw.c

index 1cda49a28f7f0e9a672ae775a832eba31ad76fb3..52fdfe22597807dcde7034b8b9b5a2d84080ec42 100644 (file)
@@ -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)