openvswitch: Remove vport-net
authorPravin B Shelar <pshelar@nicira.com>
Sun, 30 Aug 2015 00:44:08 +0000 (17:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Aug 2015 02:07:15 +0000 (19:07 -0700)
This structure is not used anymore.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.h
net/openvswitch/flow.c
net/openvswitch/vport.h

index da15fd3..c05b7d9 100644 (file)
@@ -30,7 +30,6 @@
 #include "conntrack.h"
 #include "flow.h"
 #include "flow_table.h"
-#include "vport.h"
 
 #define DP_MAX_PORTS           USHRT_MAX
 #define DP_VPORT_HASH_BUCKETS  1024
@@ -134,7 +133,6 @@ struct dp_upcall_info {
 struct ovs_net {
        struct list_head dps;
        struct work_struct dp_notify_work;
-       struct vport_net vport_net;
 
        /* Module reference for configuring conntrack. */
        bool xt_label;
index 9db8733..bed8d09 100644 (file)
 #include <net/mpls.h>
 #include <net/ndisc.h>
 
+#include "conntrack.h"
 #include "datapath.h"
 #include "flow.h"
 #include "flow_netlink.h"
-#include "conntrack.h"
+#include "vport.h"
 
 u64 ovs_flow_used_time(unsigned long flow_jiffies)
 {
index 30615ed..4b6f4a5 100644 (file)
@@ -36,10 +36,6 @@ struct vport_parms;
 
 /* The following definitions are for users of the vport subsytem: */
 
-struct vport_net {
-       struct vport __rcu *gre_vport;
-};
-
 int ovs_vport_init(void);
 void ovs_vport_exit(void);