aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-04-29 09:06:41 -0400
committerDavid S. Miller <davem@davemloft.net>2013-04-30 00:19:11 -0400
commitcff63a52924c6a78fa525c67d81480c85736ff3c (patch)
treec0feae3b064dc61f28a7ad7e44d0c7551be88f15 /net/openvswitch/vport.h
parent0c772159d1ae15c664304f0830c9aec4702593da (diff)
openvswitch: Remove unneeded ovs_netdev_get_ifindex()
The only user is get_dpifindex(), no need to redirect via the port operations. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport.h')
-rw-r--r--net/openvswitch/vport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/openvswitch/vport.h b/net/openvswitch/vport.h
index 7ba08c30b853..68a377bc0841 100644
--- a/net/openvswitch/vport.h
+++ b/net/openvswitch/vport.h
@@ -124,7 +124,6 @@ struct vport_parms {
124 * have any configuration. 124 * have any configuration.
125 * @get_name: Get the device's name. 125 * @get_name: Get the device's name.
126 * @get_config: Get the device's configuration. 126 * @get_config: Get the device's configuration.
127 * @get_ifindex: Get the system interface index associated with the device.
128 * May be null if the device does not have an ifindex. 127 * May be null if the device does not have an ifindex.
129 * @send: Send a packet on the device. Returns the length of the packet sent. 128 * @send: Send a packet on the device. Returns the length of the packet sent.
130 */ 129 */
@@ -141,7 +140,6 @@ struct vport_ops {
141 /* Called with rcu_read_lock or ovs_mutex. */ 140 /* Called with rcu_read_lock or ovs_mutex. */
142 const char *(*get_name)(const struct vport *); 141 const char *(*get_name)(const struct vport *);
143 void (*get_config)(const struct vport *, void *); 142 void (*get_config)(const struct vport *, void *);
144 int (*get_ifindex)(const struct vport *);
145 143
146 int (*send)(struct vport *, struct sk_buff *); 144 int (*send)(struct vport *, struct sk_buff *);
147}; 145};