Skip to content

Commit a581b96

Browse files
Pravin B Shelardavem330
authored andcommitted
openvswitch: Remove vport-net
This structure is not used anymore. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8c87663 commit a581b96

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

‎net/openvswitch/datapath.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include "conntrack.h"
3131
#include "flow.h"
3232
#include "flow_table.h"
33-
#include "vport.h"
3433

3534
#define DP_MAX_PORTS USHRT_MAX
3635
#define DP_VPORT_HASH_BUCKETS 1024
@@ -134,7 +133,6 @@ struct dp_upcall_info {
134133
struct ovs_net {
135134
struct list_head dps;
136135
struct work_struct dp_notify_work;
137-
struct vport_net vport_net;
138136

139137
/* Module reference for configuring conntrack. */
140138
bool xt_label;

‎net/openvswitch/flow.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@
4646
#include <net/mpls.h>
4747
#include <net/ndisc.h>
4848

49+
#include "conntrack.h"
4950
#include "datapath.h"
5051
#include "flow.h"
5152
#include "flow_netlink.h"
52-
#include "conntrack.h"
53+
#include "vport.h"
5354

5455
u64 ovs_flow_used_time(unsigned long flow_jiffies)
5556
{

‎net/openvswitch/vport.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ struct vport_parms;
3636

3737
/* The following definitions are for users of the vport subsytem: */
3838

39-
struct vport_net {
40-
struct vport __rcu *gre_vport;
41-
};
42-
4339
int ovs_vport_init(void);
4440
void ovs_vport_exit(void);
4541

0 commit comments

Comments
 (0)