* [PATCH] PCI:vmd: remove duplicate include in vmd.c
@ 2021-11-05 1:33 cgel.zte
2021-11-05 1:38 ` Krzysztof Wilczyński
0 siblings, 1 reply; 2+ messages in thread
From: cgel.zte @ 2021-11-05 1:33 UTC (permalink / raw)
To: nirmal.patel
Cc: jonathan.derrick, lorenzo.pieralisi, robh, kw, bhelgaas,
linux-pci, linux-kernel, ran jianping, Zeal Robot
From: ran jianping <ran.jianping@zte.com.cn>
'linux/device.h' included in 'drivers/pci/controller/vmd.c'
is duplicated.It is also included on the 13 line.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] PCI:vmd: remove duplicate include in vmd.c
2021-11-05 1:33 [PATCH] PCI:vmd: remove duplicate include in vmd.c cgel.zte
@ 2021-11-05 1:38 ` Krzysztof Wilczyński
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Wilczyński @ 2021-11-05 1:38 UTC (permalink / raw)
To: cgel.zte
Cc: nirmal.patel, jonathan.derrick, lorenzo.pieralisi, robh,
bhelgaas, linux-pci, linux-kernel, ran jianping, Zeal Robot
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/20211104063720.29375-1-wanjiabing@vivo.com/
Albeit, thank you for taking the time to send the patch over!
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-05 1:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 1:33 [PATCH] PCI:vmd: remove duplicate include in vmd.c cgel.zte
2021-11-05 1:38 ` Krzysztof Wilczyński
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.