]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
iommu/amd: Remove unused variable
authorVasant Hegde <vasant.hegde@amd.com>
Thu, 27 Feb 2025 16:23:15 +0000 (16:23 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 10 Mar 2025 08:27:08 +0000 (09:27 +0100)
Remove 'amd_iommu_aperture_order' as its not used since commit d9cfed925448.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20250227162320.5805-3-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu_types.h

index 23caea22f8dcdba15d943ae3f349ccb3566762d1..3f57bdd0a6598cac15b77eed52143ee1b8c53d9d 100644 (file)
@@ -928,9 +928,6 @@ struct unity_map_entry {
  * Data structures for device handling
  */
 
-/* size of the dma_ops aperture as power of 2 */
-extern unsigned amd_iommu_aperture_order;
-
 extern bool amd_iommu_force_isolation;
 
 /* Max levels of glxval supported */