Re: [PATCH] x86/virt/tdx: Remove duplicate include
From: Huang, Kai
Date: Fri Mar 22 2024 - 02:38:48 EST
On Fri, 2024-03-22 at 14:17 +0800, Jiapeng Chong wrote:
> ./arch/x86/virt/vmx/tdx/tdx.c: linux/acpi.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8609
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> ---
> arch/x86/virt/vmx/tdx/tdx.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/virt/vmx/tdx/tdx.c b/arch/x86/virt/vmx/tdx/tdx.c
> index 4d6826a76f78..49a1c6890b55 100644
> --- a/arch/x86/virt/vmx/tdx/tdx.c
> +++ b/arch/x86/virt/vmx/tdx/tdx.c
> @@ -27,7 +27,6 @@
> #include <linux/log2.h>
> #include <linux/acpi.h>
> #include <linux/suspend.h>
> -#include <linux/acpi.h>
> #include <asm/page.h>
> #include <asm/special_insns.h>
> #include <asm/msr-index.h>
Thanks:
Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>