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

ixgbe: remove unnecessary break after return

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4097ae93
...@@ -460,7 +460,6 @@ static int ixgbe_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num) ...@@ -460,7 +460,6 @@ static int ixgbe_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num)
break; break;
default: default:
return -EINVAL; return -EINVAL;
break;
} }
} else { } else {
return -EINVAL; return -EINVAL;
......
...@@ -1408,7 +1408,6 @@ static int ixgbe_reg_test(struct ixgbe_adapter *adapter, u64 *data) ...@@ -1408,7 +1408,6 @@ static int ixgbe_reg_test(struct ixgbe_adapter *adapter, u64 *data)
default: default:
*data = 1; *data = 1;
return 1; return 1;
break;
} }
/* /*
...@@ -2866,7 +2865,6 @@ static int ixgbe_get_ts_info(struct net_device *dev, ...@@ -2866,7 +2865,6 @@ static int ixgbe_get_ts_info(struct net_device *dev,
break; break;
default: default:
return ethtool_op_get_ts_info(dev, info); return ethtool_op_get_ts_info(dev, info);
break;
} }
return 0; return 0;
} }
......
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