diff options
author | Sean V Kelley <[email protected]> | 2020-11-20 16:10:27 -0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-12-04 11:18:58 -0600 |
commit | 480ef7cb9fcebda7b28cbed4f6cdcf0a02f4a6ca (patch) | |
tree | 7fcea99854eb67100e8a2172341d8ab27e325eec /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5d69dcc9f839bd2d5cac7a098712f52149e1673f (diff) |
PCI/ERR: Simplify by computing pci_pcie_type() once
Instead of calling pci_pcie_type(dev) twice, call it once and save the
result. No functional change intended.
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Jonathan Cameron <[email protected]> # non-native/no RCEC
Signed-off-by: Sean V Kelley <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions