diff options
author | Hao Chen <chenhao288@hisilicon.com> | 2022-04-19 06:27:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-20 12:45:50 +0300 |
commit | 07fdc163ac886613e406e8c4356279d9a824b529 (patch) | |
tree | 61fa784543db91fbbaa3c785c5726e432061fadf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 286c61e7279768cec9c13bf8ce947de5c33e2325 (diff) | |
download | linux-07fdc163ac886613e406e8c4356279d9a824b529.tar.xz |
net: hns3: refactor hns3_set_ringparam()
Use struct hns3_ring_param to replace variable new/old_xxx and
add hns3_is_ringparam_changed() to judge them if is changed to
improve code readability.
Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions