mirror of https://gitee.com/openkylin/linux.git
ixgbe: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4097ae93b8
commit
bc80d0d518
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue