Re: [PATCH] PCI: vmd: Remove duplicated include in vmd.c

From: Bjorn Helgaas
Date: Thu Nov 04 2021 - 10:40:16 EST


On Thu, Nov 04, 2021 at 02:37:19AM -0400, Wan Jiabing wrote:
> Fix following checkincludes.pl warning:
> ./drivers/pci/controller/vmd.c: linux/device.h is included more than once.
>
> The include is in line 7. Remove the duplicated here.
>
> Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>

Squashed in, thanks!

> ---
> drivers/pci/controller/vmd.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c
> index b48d9998e324..a45e8e59d3d4 100644
> --- a/drivers/pci/controller/vmd.c
> +++ b/drivers/pci/controller/vmd.c
> @@ -10,7 +10,6 @@
> #include <linux/irq.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> -#include <linux/device.h>
> #include <linux/msi.h>
> #include <linux/pci.h>
> #include <linux/pci-acpi.h>
> --
> 2.20.1
>