]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
iommu/amd: Remove unused forward declaration
authorVasant Hegde <vasant.hegde@amd.com>
Thu, 27 Feb 2025 16:23:19 +0000 (16:23 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 10 Mar 2025 08:27:10 +0000 (09:27 +0100)
Remove unused forward declaration.

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

index cb536d372b12ef26c609b5b20d0cb8145f10f932..94aaa4b2a9031d9e4b14b6f04aa9004bfa11a411 100644 (file)
@@ -219,7 +219,6 @@ static bool __initdata cmdline_maps;
 static enum iommu_init_state init_state = IOMMU_START_STATE;
 
 static int amd_iommu_enable_interrupts(void);
-static int __init iommu_go_to_state(enum iommu_init_state state);
 static void init_device_table_dma(struct amd_iommu_pci_seg *pci_seg);
 
 static bool amd_iommu_pre_enabled = true;