[ovs-dev] [PATCH] treewide: Clean up inclusions of netdev-dpdk header.

Ilya Maximets i.maximets at samsung.com
Mon Mar 4 10:35:30 UTC 2019


'netdev-dpdk.h' provides only 'netdev_dpdk_register' and
'free_dpdk_buf' which are not used in these files and should
not be used.
Leftovers from the already removed code.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
---
 lib/dpctl.c      | 1 -
 lib/netdev.c     | 1 -
 lib/ofpbuf.c     | 1 -
 lib/ovs-thread.c | 1 -
 4 files changed, 4 deletions(-)

diff --git a/lib/dpctl.c b/lib/dpctl.c
index 947a49099..baf37b8bc 100644
--- a/lib/dpctl.c
+++ b/lib/dpctl.c
@@ -38,7 +38,6 @@
 #include "flow.h"
 #include "openvswitch/match.h"
 #include "netdev.h"
-#include "netdev-dpdk.h"
 #include "netlink.h"
 #include "odp-util.h"
 #include "openvswitch/ofpbuf.h"
diff --git a/lib/netdev.c b/lib/netdev.c
index 9d7c24c27..7d7ecf6f0 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -39,7 +39,6 @@
 #include "fatal-signal.h"
 #include "hash.h"
 #include "openvswitch/list.h"
-#include "netdev-dpdk.h"
 #include "netdev-provider.h"
 #include "netdev-vport.h"
 #include "odp-netlink.h"
diff --git a/lib/ofpbuf.c b/lib/ofpbuf.c
index 1dab25b64..4edb3c114 100644
--- a/lib/ofpbuf.c
+++ b/lib/ofpbuf.c
@@ -19,7 +19,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include "openvswitch/dynamic-string.h"
-#include "netdev-dpdk.h"
 #include "util.h"
 
 static void
diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c
index c8d92bc1b..159d87e5b 100644
--- a/lib/ovs-thread.c
+++ b/lib/ovs-thread.c
@@ -27,7 +27,6 @@
 #include "fatal-signal.h"
 #include "hash.h"
 #include "openvswitch/list.h"
-#include "netdev-dpdk.h"
 #include "ovs-rcu.h"
 #include "openvswitch/poll-loop.h"
 #include "seq.h"
-- 
2.17.1



More information about the dev mailing list