aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel/nested.c
diff options
context:
space:
mode:
authorWei Wang <[email protected]>2025-05-13 03:07:38 +0000
committerJoerg Roedel <[email protected]>2025-05-16 06:49:29 +0000
commit3df2ebcee9fb3bd2597d1758795471a3a3b2203c (patch)
treea2723d7a4add9de88b90ce29f0c9b9a66855c74a /drivers/iommu/intel/nested.c
parentiommu/vt-d: Replace spin_lock with mutex to protect domain ida (diff)
downloadkernel-3df2ebcee9fb3bd2597d1758795471a3a3b2203c.tar.gz
kernel-3df2ebcee9fb3bd2597d1758795471a3a3b2203c.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lu Baolu <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/iommu/intel/nested.c')
0 files changed, 0 insertions, 0 deletions