Skip to content

Commit 4759858

Browse files
LuBaolujoergroedel
authored andcommitted
iommu/vt-d: Remove pasid_set_eafe()
It is not used anywhere in the tree. Remove it to avoid dead code. No functional change intended. Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 0faa19a commit 4759858

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/iommu/intel/pasid.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -392,16 +392,6 @@ pasid_set_flpm(struct pasid_entry *pe, u64 value)
392392
pasid_set_bits(&pe->val[2], GENMASK_ULL(3, 2), value << 2);
393393
}
394394

395-
/*
396-
* Setup the Extended Access Flag Enable (EAFE) field (Bit 135)
397-
* of a scalable mode PASID entry.
398-
*/
399-
static inline void
400-
pasid_set_eafe(struct pasid_entry *pe)
401-
{
402-
pasid_set_bits(&pe->val[2], 1 << 7, 1 << 7);
403-
}
404-
405395
static void
406396
pasid_cache_invalidation_with_pasid(struct intel_iommu *iommu,
407397
u16 did, u32 pasid)

0 commit comments

Comments
 (0)