2021-11-05 01:42:33

by CGEL

[permalink] [raw]
Subject: [PATCH] PCI:vmd: remove duplicate include in vmd.c

From: ran jianping <[email protected]>

'linux/device.h' included in 'drivers/pci/controller/vmd.c'
is duplicated.It is also included on the 13 line.

Reported-by: Zeal Robot <[email protected]>
Signed-off-by: ran jianping <[email protected]>
---
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.25.1


2021-11-05 03:06:52

by Krzysztof Wilczyński

[permalink] [raw]
Subject: Re: [PATCH] PCI:vmd: remove duplicate include in vmd.c

Hi,

> 'linux/device.h' included in 'drivers/pci/controller/vmd.c'
> is duplicated.It is also included on the 13 line.
[...]

This has already been take care off in a patch sent earlier, as per:

https://lore.kernel.org/linux-pci/[email protected]/

Albeit, thank you for taking the time to send the patch over!

Krzysztof