diff options
author | 2020-09-27 15:12:40 +0800 | |
---|---|---|
committer | 2020-09-27 13:25:22 -0700 | |
commit | 9b56d9a5a7ad7d02d1b1a1601cad730dfee6bce1 (patch) | |
tree | 0c7e277ef438fc4fefa53bf0888ac8aeb6dcd14b /tools/perf/scripts/python/stackcollapse.py | |
parent | net: hns3: add device version to replace pci revision (diff) | |
download | wireguard-linux-9b56d9a5a7ad7d02d1b1a1601cad730dfee6bce1.tar.xz wireguard-linux-9b56d9a5a7ad7d02d1b1a1601cad730dfee6bce1.zip |
net: hns3: delete redundant PCI revision judgement
Fibre device of PCI revision 0x20 don't support autoneg, and the ops
get_autoneg() return AUTONEG_DISABLE so function hns3_nway_reset()
will return earlier than judging PCI revision.
Function hclge_handle_rocee_ras_error() don't need to judge PCI
revision again because its caller hclge_handle_hw_ras_error() has
judged once.
Signed-off-by: Guangbin Huang <huangguangbin2@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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions