diff options
author | Wei Wang <wei.w.wang@intel.com> | 2025-05-13 11:07:38 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2025-05-16 08:49:29 +0200 |
commit | 3df2ebcee9fb3bd2597d1758795471a3a3b2203c (patch) | |
tree | a2723d7a4add9de88b90ce29f0c9b9a66855c74a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 868720fe15d1a6a1bddc28ad7b7e4b62448ee36b (diff) |
iommu/vt-d: Eliminate pci_physfn() in dmar_find_matched_satc_unit()
The function dmar_find_matched_satc_unit() contains a duplicate call to
pci_physfn(). This call is unnecessary as pci_physfn() has already been
invoked by the caller. Removing the redundant call simplifies the code
and improves efficiency a bit.
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Link: https://lore.kernel.org/r/20250509140021.4029303-2-wei.w.wang@intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions