Re: [PATCH] x86/hyperv: Remove duplicate include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 27, 2021 at 04:57:02PM +0800, Jiapeng Chong wrote:
> Clean up the following includecheck warning:
> 
> ./arch/x86/hyperv/ivm.c: linux/bitfield.h is included more than once.
> ./arch/x86/hyperv/ivm.c: linux/types.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>

Applied to hyperv-next. Thanks.

> ---
>  arch/x86/hyperv/ivm.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/x86/hyperv/ivm.c b/arch/x86/hyperv/ivm.c
> index 4d012fd..69c7a57 100644
> --- a/arch/x86/hyperv/ivm.c
> +++ b/arch/x86/hyperv/ivm.c
> @@ -6,11 +6,9 @@
>   *  Tianyu Lan <Tianyu.Lan@xxxxxxxxxxxxx>
>   */
>  
> -#include <linux/types.h>
>  #include <linux/bitfield.h>
>  #include <linux/hyperv.h>
>  #include <linux/types.h>
> -#include <linux/bitfield.h>
>  #include <linux/slab.h>
>  #include <asm/svm.h>
>  #include <asm/sev.h>
> -- 
> 1.8.3.1
> 



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux