diff options
author | Guangbin Huang <huangguangbin2@huawei.com> | 2021-08-30 09:06:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-11 12:57:34 +0300 |
commit | 344b7c00039849351929d24c40c4540b54079f8f (patch) | |
tree | cbe925287d793d213930e7736ed3b693e8eccd62 /drivers/net/ethernet/smsc/smc911x.h | |
parent | 111b699300a766b365b0380d8ca4611634ef5043 (diff) | |
download | linux-344b7c00039849351929d24c40c4540b54079f8f.tar.xz |
net: hns3: reconstruct function hclge_ets_validate()
[ Upstream commit 161ad669e6c23529415bffed5cb3bfa012e46cb4 ]
This patch reconstructs function hclge_ets_validate() to reduce the code
cycle complexity and make code more concise.
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 882481b1c55f ("net: hns3: fix wrong bw weight of disabled tc issue")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/smsc/smc911x.h')
0 files changed, 0 insertions, 0 deletions