summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/atheros/atlx/atl1.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-20 18:27:53 +0400
committerDavid S. Miller <davem@davemloft.net>2014-07-21 08:30:19 +0400
commit9fb1d03acf472da4b2c588bd6921e815e5991cc6 (patch)
tree3644555d2e1fbb220a3afb33c1b790d2aeabd245 /drivers/net/ethernet/atheros/atlx/atl1.c
parenta9690a8c748a9e5c47a3a0ebdeba0516f4acdda6 (diff)
downloadlinux-9fb1d03acf472da4b2c588bd6921e815e5991cc6.tar.xz
atlx: 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/atlx/atl1.c')
-rw-r--r--drivers/net/ethernet/atheros/atlx/atl1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c
index b460db7919a2..1546d550ac97 100644
--- a/drivers/net/ethernet/atheros/atlx/atl1.c
+++ b/drivers/net/ethernet/atheros/atlx/atl1.c
@@ -910,7 +910,6 @@ static s32 atl1_get_speed_and_duplex(struct atl1_hw *hw, u16 *speed, u16 *duplex
if (netif_msg_hw(adapter))
dev_dbg(&pdev->dev, "error getting speed\n");
return ATLX_ERR_PHY_SPEED;
- break;
}
if (phy_data & MII_ATLX_PSSR_DPLX)
*duplex = FULL_DUPLEX;