Skip to content

Commit cbd531b

Browse files
committed
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: Jesse Gross <jesse@nicira.com>
1 parent f44f340 commit cbd531b

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎net/openvswitch/vport-netdev.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ netdev_vport_priv(const struct vport *vport)
3939
}
4040

4141
const char *ovs_netdev_get_name(const struct vport *);
42-
const char *ovs_netdev_get_config(const struct vport *);
4342

4443
#endif /* vport_netdev.h */

‎net/openvswitch/vport.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ struct vport_parms {
123123
* existing vport to a &struct sk_buff. May be %NULL for a vport that does not
124124
* have any configuration.
125125
* @get_name: Get the device's name.
126-
* @get_config: Get the device's configuration.
127-
* May be null if the device does not have an ifindex.
128126
* @send: Send a packet on the device. Returns the length of the packet sent.
129127
*/
130128
struct vport_ops {
@@ -139,7 +137,6 @@ struct vport_ops {
139137

140138
/* Called with rcu_read_lock or ovs_mutex. */
141139
const char *(*get_name)(const struct vport *);
142-
void (*get_config)(const struct vport *, void *);
143140

144141
int (*send)(struct vport *, struct sk_buff *);
145142
};

0 commit comments

Comments
 (0)