diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-02-23 17:22:10 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-24 20:27:50 -0800 |
commit | 47e7b13b0aff869465585d36a8d5075fe17cb90a (patch) | |
tree | 5d084faddd5b53e1adb802813bb621a3531dc638 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3fe13ed95dd3c4aede3313a2dd2d589c207b51d0 (diff) |
net: hns3: limit some variable scope in critical data path
This patch limits some variables' scope as much as possible in
hns3_fill_desc.
Also, only set l3_type and l4_type when necessary.
Signed-off-by: Yunsheng Lin <linyunsheng@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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions