* [PATCH -next] iommu/amd: Remove unsued extern declaration amd_iommu_init_hardware()
@ 2023-08-02 13:32 Yue Haibing
2023-08-02 17:28 ` Suthikulpanit, Suravee
2023-08-07 12:56 ` Joerg Roedel
0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2023-08-02 13:32 UTC (permalink / raw)
To: joro, suravee.suthikulpanit, yuehaibing; +Cc: iommu, linux-kernel
From: YueHaibing <yuehaibing@huawei.com>
Commit 2c0ae1720c09 ("iommu/amd: Convert iommu initialization to state machine")
left behind this.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
include/linux/amd-iommu.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/amd-iommu.h b/include/linux/amd-iommu.h
index 953e6f12fa1c..99a5201d9e62 100644
--- a/include/linux/amd-iommu.h
+++ b/include/linux/amd-iommu.h
@@ -32,7 +32,6 @@ struct task_struct;
struct pci_dev;
extern int amd_iommu_detect(void);
-extern int amd_iommu_init_hardware(void);
/**
* amd_iommu_init_device() - Init device for use with IOMMUv2 driver
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] iommu/amd: Remove unsued extern declaration amd_iommu_init_hardware()
2023-08-02 13:32 [PATCH -next] iommu/amd: Remove unsued extern declaration amd_iommu_init_hardware() Yue Haibing
@ 2023-08-02 17:28 ` Suthikulpanit, Suravee
2023-08-07 12:56 ` Joerg Roedel
1 sibling, 0 replies; 3+ messages in thread
From: Suthikulpanit, Suravee @ 2023-08-02 17:28 UTC (permalink / raw)
To: Yue Haibing, joro; +Cc: iommu, linux-kernel
On 8/2/2023 6:32 AM, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
>
> Commit 2c0ae1720c09 ("iommu/amd: Convert iommu initialization to state machine")
> left behind this.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> include/linux/amd-iommu.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/amd-iommu.h b/include/linux/amd-iommu.h
> index 953e6f12fa1c..99a5201d9e62 100644
> --- a/include/linux/amd-iommu.h
> +++ b/include/linux/amd-iommu.h
> @@ -32,7 +32,6 @@ struct task_struct;
> struct pci_dev;
>
> extern int amd_iommu_detect(void);
> -extern int amd_iommu_init_hardware(void);
>
> /**
> * amd_iommu_init_device() - Init device for use with IOMMUv2 driver
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Thanks,
Suravee
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] iommu/amd: Remove unsued extern declaration amd_iommu_init_hardware()
2023-08-02 13:32 [PATCH -next] iommu/amd: Remove unsued extern declaration amd_iommu_init_hardware() Yue Haibing
2023-08-02 17:28 ` Suthikulpanit, Suravee
@ 2023-08-07 12:56 ` Joerg Roedel
1 sibling, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2023-08-07 12:56 UTC (permalink / raw)
To: Yue Haibing; +Cc: suravee.suthikulpanit, iommu, linux-kernel
On Wed, Aug 02, 2023 at 09:32:01PM +0800, Yue Haibing wrote:
> include/linux/amd-iommu.h | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-07 12:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-02 13:32 [PATCH -next] iommu/amd: Remove unsued extern declaration amd_iommu_init_hardware() Yue Haibing
2023-08-02 17:28 ` Suthikulpanit, Suravee
2023-08-07 12:56 ` Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox