diff options
| author | Jialin Zhang <[email protected]> | 2023-08-15 10:33:03 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-08-25 08:39:30 +1000 |
| commit | 664ec38673bef18bbcc4ede02274c8977470823f (patch) | |
| tree | ae1f267d87e12a14c11cfaa6bf62d7ff00fed235 /tools/perf/util/c++/clang.cpp | |
| parent | 50832720ec54c39ab189cd5e057aec1c514978ce (diff) | |
powerpc/eeh: 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 mannually. Use pci_dev_id() to
simplify the code a little bit.
Signed-off-by: Jialin Zhang <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions