Skip to content

Commit

Permalink
openvswitch: Remove unused get_config vport op.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesse Gross committed Jun 14, 2013
1 parent f44f340 commit cbd531b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion net/openvswitch/vport-netdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
3 changes: 0 additions & 3 deletions net/openvswitch/vport.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 *);
};
Expand Down

0 comments on commit cbd531b

Please sign in to comment.