From: Vasant Hegde Date: Thu, 27 Feb 2025 16:23:19 +0000 (+0000) Subject: iommu/amd: Remove unused forward declaration X-Git-Tag: v6.15-rc1~163^2^9~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5536e19e940be0aad326ff80870e0261c0ba5ff7;p=thirdparty%2Flinux.git iommu/amd: Remove unused forward declaration Remove unused forward declaration. Signed-off-by: Vasant Hegde Reviewed-by: Jason Gunthorpe Link: https://lore.kernel.org/r/20250227162320.5805-7-vasant.hegde@amd.com Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/amd/init.c b/drivers/iommu/amd/init.c index cb536d372b12e..94aaa4b2a9031 100644 --- a/drivers/iommu/amd/init.c +++ b/drivers/iommu/amd/init.c @@ -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;