Commit cbd531be authored by Jesse Gross's avatar Jesse Gross

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: default avatarJesse Gross <jesse@nicira.com>
parent f44f3408
...@@ -39,6 +39,5 @@ netdev_vport_priv(const struct vport *vport) ...@@ -39,6 +39,5 @@ netdev_vport_priv(const struct vport *vport)
} }
const char *ovs_netdev_get_name(const struct vport *); const char *ovs_netdev_get_name(const struct vport *);
const char *ovs_netdev_get_config(const struct vport *);
#endif /* vport_netdev.h */ #endif /* vport_netdev.h */
...@@ -123,8 +123,6 @@ struct vport_parms { ...@@ -123,8 +123,6 @@ struct vport_parms {
* existing vport to a &struct sk_buff. May be %NULL for a vport that does not * existing vport to a &struct sk_buff. May be %NULL for a vport that does not
* have any configuration. * have any configuration.
* @get_name: Get the device's name. * @get_name: Get the device's name.
* @get_config: Get the device's configuration.
* May be null if the device does not have an ifindex.
* @send: Send a packet on the device. Returns the length of the packet sent. * @send: Send a packet on the device. Returns the length of the packet sent.
*/ */
struct vport_ops { struct vport_ops {
...@@ -139,7 +137,6 @@ struct vport_ops { ...@@ -139,7 +137,6 @@ struct vport_ops {
/* Called with rcu_read_lock or ovs_mutex. */ /* Called with rcu_read_lock or ovs_mutex. */
const char *(*get_name)(const struct vport *); const char *(*get_name)(const struct vport *);
void (*get_config)(const struct vport *, void *);
int (*send)(struct vport *, struct sk_buff *); int (*send)(struct vport *, struct sk_buff *);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment