diff options
| author | Hao Chen <[email protected]> | 2022-04-19 11:27:02 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-20 10:45:50 +0100 |
| commit | 07fdc163ac886613e406e8c4356279d9a824b529 (patch) | |
| tree | 61fa784543db91fbbaa3c785c5726e432061fadf /tools/perf/scripts/python/stackcollapse.py | |
| parent | 286c61e7279768cec9c13bf8ce947de5c33e2325 (diff) | |
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 <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions