diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-04-04 16:17:52 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-04-04 10:20:38 -0700 |
| commit | 0aa3d88a9197fd7176dbaf5db769837be6afdf46 (patch) | |
| tree | 946e230d1941e1b8b12879e32716529d8c46053b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | net: hns3: return 0 and print warning when hit duplicate MAC (diff) | |
| download | linux-0aa3d88a9197fd7176dbaf5db769837be6afdf46.tar.gz linux-0aa3d88a9197fd7176dbaf5db769837be6afdf46.zip | |
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 <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
