From: Jesse Gross Date: Sat, 4 May 2013 00:49:22 +0000 (-0700) Subject: datapath: Remove unused get_config vport op. X-Git-Tag: sliver-openvswitch-1.10.90-3~16^2~33 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2f524209e92a986d3caac9df5bffc3e88c401acd;p=sliver-openvswitch.git datapath: 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 --- diff --git a/datapath/vport-netdev.h b/datapath/vport-netdev.h index a3cb3a32c..dd298b5c5 100644 --- a/datapath/vport-netdev.h +++ b/datapath/vport-netdev.h @@ -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_config(const struct vport *); #endif /* vport_netdev.h */ diff --git a/datapath/vport.h b/datapath/vport.h index 7233e4f47..c23d35cde 100644 --- a/datapath/vport.h +++ b/datapath/vport.h @@ -138,8 +138,6 @@ struct vport_parms { * existing vport to a &struct sk_buff. May be %NULL for a vport that does not * have any configuration. * @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. */ struct vport_ops { @@ -159,7 +157,6 @@ struct vport_ops { /* Called with rcu_read_lock or ovs_mutex. */ const char *(*get_name)(const struct vport *); - void (*get_config)(const struct vport *, void *); int (*send)(struct vport *, struct sk_buff *); };