]> Pileus Git - ~andy/linux/commitdiff
openvswitch: Remove unused get_config vport op.
authorJesse Gross <jesse@nicira.com>
Mon, 13 May 2013 15:16:29 +0000 (08:16 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 14 Jun 2013 22:09:09 +0000 (15:09 -0700)
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>
net/openvswitch/vport-netdev.h
net/openvswitch/vport.h

index a3cb3a32cd77140369a448337120c79f8a040ab0..dd298b5c5cdb25e1a721e5b845353ce055c02e60 100644 (file)
@@ -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 */
index 68a377bc0841e7bfd0a5b1200a4a3b938adc9251..26c594b1a47037aa2aefa191aca2cce76779335c 100644 (file)
@@ -123,8 +123,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 {
@@ -139,7 +137,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 *);
 };