[PATCH] vxge: Remove unnecessary include of <linux/pci_hotplug.h>

Subsystems: networking drivers, the rest

STALE2939d

3 messages, 3 authors, 2018-07-25 · open the first message on its own page

[PATCH] vxge: Remove unnecessary include of <linux/pci_hotplug.h>

From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2018-07-23 20:59:50

From: Bjorn Helgaas <bhelgaas@google.com>

The vxge driver doesn't need anything provided by pci_hotplug.h, so remove
the unnecessary include of it.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 drivers/net/ethernet/neterion/vxge/vxge-config.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-config.c b/drivers/net/ethernet/neterion/vxge/vxge-config.c
index 358ed6118881..a2c0a93ca8b6 100644
--- a/drivers/net/ethernet/neterion/vxge/vxge-config.c
+++ b/drivers/net/ethernet/neterion/vxge/vxge-config.c
@@ -14,7 +14,6 @@
 #include <linux/vmalloc.h>
 #include <linux/etherdevice.h>
 #include <linux/pci.h>
-#include <linux/pci_hotplug.h>
 #include <linux/slab.h>
 
 #include "vxge-traffic.h"

Re: [PATCH] vxge: Remove unnecessary include of <linux/pci_hotplug.h>

From: Jon Mason <jdmason@kudzu.us>
Date: 2018-07-24 15:45:32

On Mon, Jul 23, 2018 at 03:59:46PM -0500, Bjorn Helgaas wrote:
From: Bjorn Helgaas <bhelgaas@google.com>

The vxge driver doesn't need anything provided by pci_hotplug.h, so remove
the unnecessary include of it.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Not sure you need my ack for something so trivial, but here it is
Acked-by: Jon Mason <jdmason@kudzu.us>
quoted hunk
---
 drivers/net/ethernet/neterion/vxge/vxge-config.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-config.c b/drivers/net/ethernet/neterion/vxge/vxge-config.c
index 358ed6118881..a2c0a93ca8b6 100644
--- a/drivers/net/ethernet/neterion/vxge/vxge-config.c
+++ b/drivers/net/ethernet/neterion/vxge/vxge-config.c
@@ -14,7 +14,6 @@
 #include <linux/vmalloc.h>
 #include <linux/etherdevice.h>
 #include <linux/pci.h>
-#include <linux/pci_hotplug.h>
 #include <linux/slab.h>
 
 #include "vxge-traffic.h"

Re: [PATCH] vxge: Remove unnecessary include of <linux/pci_hotplug.h>

From: David Miller <davem@davemloft.net>
Date: 2018-07-25 20:53:04

From: Bjorn Helgaas <helgaas@kernel.org>
Date: Mon, 23 Jul 2018 15:59:46 -0500
From: Bjorn Helgaas <bhelgaas@google.com>

The vxge driver doesn't need anything provided by pci_hotplug.h, so remove
the unnecessary include of it.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help