* [PATCH -next] iommu/amd: Remove unused declarations
@ 2023-08-14 13:55 Yue Haibing
2023-08-17 10:58 ` Joerg Roedel
0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2023-08-14 13:55 UTC (permalink / raw)
To: joro, suravee.suthikulpanit, will, robin.murphy, vasant.hegde
Cc: iommu, linux-kernel, yuehaibing
Commit aafd8ba0ca74 ("iommu/amd: Implement add_device and remove_device")
removed the implementations but left declarations in place. Remove it.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
drivers/iommu/amd/amd_iommu.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/iommu/amd/amd_iommu.h b/drivers/iommu/amd/amd_iommu.h
index f23ad6043f04..e2857109e966 100644
--- a/drivers/iommu/amd/amd_iommu.h
+++ b/drivers/iommu/amd/amd_iommu.h
@@ -20,9 +20,6 @@ void amd_iommu_apply_erratum_63(struct amd_iommu *iommu, u16 devid);
void amd_iommu_restart_event_logging(struct amd_iommu *iommu);
void amd_iommu_restart_ga_log(struct amd_iommu *iommu);
void amd_iommu_restart_ppr_log(struct amd_iommu *iommu);
-int amd_iommu_init_devices(void);
-void amd_iommu_uninit_devices(void);
-void amd_iommu_init_notifier(void);
void amd_iommu_set_rlookup_table(struct amd_iommu *iommu, u16 devid);
#ifdef CONFIG_AMD_IOMMU_DEBUGFS
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] iommu/amd: Remove unused declarations
2023-08-14 13:55 [PATCH -next] iommu/amd: Remove unused declarations Yue Haibing
@ 2023-08-17 10:58 ` Joerg Roedel
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2023-08-17 10:58 UTC (permalink / raw)
To: Yue Haibing
Cc: suravee.suthikulpanit, will, robin.murphy, vasant.hegde, iommu,
linux-kernel
On Mon, Aug 14, 2023 at 09:55:02PM +0800, Yue Haibing wrote:
> Commit aafd8ba0ca74 ("iommu/amd: Implement add_device and remove_device")
> removed the implementations but left declarations in place. Remove it.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> drivers/iommu/amd/amd_iommu.h | 3 ---
> 1 file changed, 3 deletions(-)
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-17 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 13:55 [PATCH -next] iommu/amd: Remove unused declarations Yue Haibing
2023-08-17 10:58 ` Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox