lkml.org 
[lkml]   [2023]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -next] iommu/amd: Remove unsued extern declaration amd_iommu_init_hardware()
From


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

\
 
 \ /
  Last update: 2023-08-02 19:31    [W:0.041 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site