diff options
author | Zheng Zengkai <[email protected]> | 2023-08-11 19:07:00 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-08-13 12:30:39 +0100 |
commit | adc4d18538ec5e7ae44323130257c2ba47da2d57 (patch) | |
tree | cfd764012313eb46a8b8ec1aa32b187341b37c8f /tools/perf/scripts/python/task-analyzer.py | |
parent | 6ecb2ced346f6d2209428ef86cae83269af2d744 (diff) |
net: smsc: 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions