aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2013-05-13 11:16:29 -0400
committerJesse Gross <jesse@nicira.com>2013-06-14 18:09:09 -0400
commitcbd531bebb02bc6c0fc3619a2cfc32f7d8843b18 (patch)
treecd2270a3f86986a1902ef580652c9371c86e41af
parentf44f340883388b57fe03edfb0982e038e57a992c (diff)
openvswitch: Remove unused get_config vport op.
The get_config vport op is left over from old compatibility code, it is neither used nor implemented any more. Signed-off-by: Jesse Gross <jesse@nicira.com>
-rw-r--r--net/openvswitch/vport-netdev.h1
-rw-r--r--net/openvswitch/vport.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/net/openvswitch/vport-netdev.h b/net/openvswitch/vport-netdev.h
index a3cb3a32cd77..dd298b5c5cdb 100644
--- a/net/openvswitch/vport-netdev.h
+++ b/net/openvswitch/vport-netdev.h
@@ -39,6 +39,5 @@ netdev_vport_priv(const struct vport *vport)
39} 39}
40 40
41const char *ovs_netdev_get_name(const struct vport *); 41const char *ovs_netdev_get_name(const struct vport *);
42const char *ovs_netdev_get_config(const struct vport *);
43 42
44#endif /* vport_netdev.h */ 43#endif /* vport_netdev.h */
diff --git a/net/openvswitch/vport.h b/net/openvswitch/vport.h
index 68a377bc0841..26c594b1a470 100644
--- a/net/openvswitch/vport.h
+++ b/net/openvswitch/vport.h
@@ -123,8 +123,6 @@ struct vport_parms {
123 * existing vport to a &struct sk_buff. May be %NULL for a vport that does not 123 * existing vport to a &struct sk_buff. May be %NULL for a vport that does not
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.
127 * May be null if the device does not have an ifindex.
128 * @send: Send a packet on the device. Returns the length of the packet sent. 126 * @send: Send a packet on the device. Returns the length of the packet sent.
129 */ 127 */
130struct vport_ops { 128struct vport_ops {
@@ -139,7 +137,6 @@ struct vport_ops {
139 137
140 /* Called with rcu_read_lock or ovs_mutex. */ 138 /* Called with rcu_read_lock or ovs_mutex. */
141 const char *(*get_name)(const struct vport *); 139 const char *(*get_name)(const struct vport *);
142 void (*get_config)(const struct vport *, void *);
143 140
144 int (*send)(struct vport *, struct sk_buff *); 141 int (*send)(struct vport *, struct sk_buff *);
145}; 142};