diff options
author | 2023-08-11 19:06:58 +0800 | |
---|---|---|
committer | 2023-08-13 12:30:39 +0100 | |
commit | fcbb797458e123b3f304606199ded27b042118b1 (patch) | |
tree | 6c3279f72f9e5ed66f48689488f318d4ce058ac3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: e1000: Remove unused declarations (diff) | |
download | wireguard-linux-fcbb797458e123b3f304606199ded27b042118b1.tar.xz wireguard-linux-fcbb797458e123b3f304606199ded27b042118b1.zip |
et131x: Use pci_dev_id() to simplify the code
PCI core API pci_dev_id() can be used to get the BDF number for a pci
device. We don't need to compose it manually. Use pci_dev_id() to
simplify the code a little bit.
Signed-off-by: Zheng Zengkai <zhengzengkai@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