Commit 3a087b21 authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller

ixgbe: remove unnecessary break after goto

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a4a07624
...@@ -430,7 +430,6 @@ static s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw) ...@@ -430,7 +430,6 @@ static s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw)
hw_dbg(hw, "Flow control param set incorrectly\n"); hw_dbg(hw, "Flow control param set incorrectly\n");
ret_val = IXGBE_ERR_CONFIG; ret_val = IXGBE_ERR_CONFIG;
goto out; goto out;
break;
} }
/* Set 802.3x based flow control settings. */ /* Set 802.3x based flow control settings. */
......
...@@ -432,7 +432,6 @@ static s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, ...@@ -432,7 +432,6 @@ static s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw,
default: default:
status = IXGBE_ERR_LINK_SETUP; status = IXGBE_ERR_LINK_SETUP;
goto out; goto out;
break;
} }
if (hw->phy.multispeed_fiber) { if (hw->phy.multispeed_fiber) {
...@@ -2035,7 +2034,6 @@ static u32 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw) ...@@ -2035,7 +2034,6 @@ static u32 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw)
else if (pma_pmd_10g_parallel == IXGBE_AUTOC_10G_XAUI) else if (pma_pmd_10g_parallel == IXGBE_AUTOC_10G_XAUI)
physical_layer = IXGBE_PHYSICAL_LAYER_10GBASE_XAUI; physical_layer = IXGBE_PHYSICAL_LAYER_10GBASE_XAUI;
goto out; goto out;
break;
case IXGBE_AUTOC_LMS_10G_SERIAL: case IXGBE_AUTOC_LMS_10G_SERIAL:
if (pma_pmd_10g_serial == IXGBE_AUTOC2_10G_KR) { if (pma_pmd_10g_serial == IXGBE_AUTOC2_10G_KR) {
physical_layer = IXGBE_PHYSICAL_LAYER_10GBASE_KR; physical_layer = IXGBE_PHYSICAL_LAYER_10GBASE_KR;
...@@ -2052,10 +2050,8 @@ static u32 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw) ...@@ -2052,10 +2050,8 @@ static u32 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw)
if (autoc & IXGBE_AUTOC_KR_SUPP) if (autoc & IXGBE_AUTOC_KR_SUPP)
physical_layer |= IXGBE_PHYSICAL_LAYER_10GBASE_KR; physical_layer |= IXGBE_PHYSICAL_LAYER_10GBASE_KR;
goto out; goto out;
break;
default: default:
goto out; goto out;
break;
} }
sfp_check: sfp_check:
......
...@@ -216,7 +216,6 @@ static s32 ixgbe_setup_fc(struct ixgbe_hw *hw) ...@@ -216,7 +216,6 @@ static s32 ixgbe_setup_fc(struct ixgbe_hw *hw)
hw_dbg(hw, "Flow control param set incorrectly\n"); hw_dbg(hw, "Flow control param set incorrectly\n");
ret_val = IXGBE_ERR_CONFIG; ret_val = IXGBE_ERR_CONFIG;
goto out; goto out;
break;
} }
if (hw->mac.type != ixgbe_mac_X540) { if (hw->mac.type != ixgbe_mac_X540) {
...@@ -2179,7 +2178,6 @@ s32 ixgbe_fc_enable_generic(struct ixgbe_hw *hw) ...@@ -2179,7 +2178,6 @@ s32 ixgbe_fc_enable_generic(struct ixgbe_hw *hw)
hw_dbg(hw, "Flow control param set incorrectly\n"); hw_dbg(hw, "Flow control param set incorrectly\n");
ret_val = IXGBE_ERR_CONFIG; ret_val = IXGBE_ERR_CONFIG;
goto out; goto out;
break;
} }
/* Set 802.3x based flow control settings. */ /* Set 802.3x based flow control settings. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment