* [dpdk-dev] [PATCH] bus/pci: remove rte_pci_remove_device() declaration
@ 2018-08-07 19:09 Rami Rosen
2018-08-09 15:42 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2018-08-07 19:09 UTC (permalink / raw)
To: dev; +Cc: Rami Rosen
This patch removes the forward declaration of rte_pci_remove_device()
method. In the past, this forward decalaration was needed for
rte_pci_detach(), which is now removed from pci_common.c.
Fixes: e690338a7b85 ("bus/pci: remove unused function to detach by address")
Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
drivers/bus/pci/pci_common.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/bus/pci/pci_common.c b/drivers/bus/pci/pci_common.c
index b3879a9..7736b3f 100644
--- a/drivers/bus/pci/pci_common.c
+++ b/drivers/bus/pci/pci_common.c
@@ -27,8 +27,6 @@
#include "private.h"
-static void rte_pci_remove_device(struct rte_pci_device *pci_device);
-
extern struct rte_pci_bus rte_pci_bus;
#define SYSFS_PCI_DEVICES "/sys/bus/pci/devices"
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] bus/pci: remove rte_pci_remove_device() declaration
2018-08-07 19:09 [dpdk-dev] [PATCH] bus/pci: remove rte_pci_remove_device() declaration Rami Rosen
@ 2018-08-09 15:42 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2018-08-09 15:42 UTC (permalink / raw)
To: Rami Rosen; +Cc: dev
07/08/2018 21:09, Rami Rosen:
> This patch removes the forward declaration of rte_pci_remove_device()
> method. In the past, this forward decalaration was needed for
> rte_pci_detach(), which is now removed from pci_common.c.
>
> Fixes: e690338a7b85 ("bus/pci: remove unused function to detach by address")
>
> Signed-off-by: Rami Rosen <rami.rosen@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-09 15:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-07 19:09 [dpdk-dev] [PATCH] bus/pci: remove rte_pci_remove_device() declaration Rami Rosen
2018-08-09 15:42 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).