Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ixgbe: remove unnecessary break after return

parent 4097ae93
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -460,7 +460,6 @@ static int ixgbe_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num)
			break;
		default:
			return -EINVAL;
			break;
		}
	} else {
		return -EINVAL;
+0 −2
Original line number Diff line number Diff line
@@ -1408,7 +1408,6 @@ static int ixgbe_reg_test(struct ixgbe_adapter *adapter, u64 *data)
	default:
		*data = 1;
		return 1;
		break;
	}

	/*
@@ -2866,7 +2865,6 @@ static int ixgbe_get_ts_info(struct net_device *dev,
		break;
	default:
		return ethtool_op_get_ts_info(dev, info);
		break;
	}
	return 0;
}