datapath: Remove unneeded ovs_netdev_get_ifindex()
[sliver-openvswitch.git] / datapath / vport.h
index 5c213e9..7233e4f 100644 (file)
@@ -139,7 +139,6 @@ struct vport_parms {
  * have any configuration.
  * @get_name: Get the device's name.
  * @get_config: Get the device's configuration.
- * @get_ifindex: Get the system interface index associated with the device.
  * 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.
  */
@@ -161,7 +160,7 @@ 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 (*get_ifindex)(const struct vport *);
+
        int (*send)(struct vport *, struct sk_buff *);
 };