aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2019-04-04 16:17:52 +0800
committerDavid S. Miller <[email protected]>2019-04-04 10:20:38 -0700
commit0aa3d88a9197fd7176dbaf5db769837be6afdf46 (patch)
tree946e230d1941e1b8b12879e32716529d8c46053b /tools/perf/scripts/python
parent72110b567479f0282489a9b3747e76d8c67d75f5 (diff)
net: hns3: minor optimization for ring_space
This patch optimizes the ring_space by calculating the ring space without calling ring_dist. Also ring_dist is only used by ring_space, so this patch removes it when it is no longer used. Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions