2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00

Remove netdev_find_dev_by_in4

netdev_find_dev_by_in4() appears to no longer be used and thus
can be removed. This also allows netdev_enumerate(), the
enumerate member of struct netdev_class and netdev_linux_enumerate()
to be removed.

I noticed this as netdev_linux_enumerate() makes use of if_nameindex()
and if_freenameindex() which are not available when compiling using
the Android NDK r6b (Android API level 13).
This commit is contained in:
Simon Horman
2011-09-22 21:24:14 +09:00
committed by Ben Pfaff
parent 00fa9d37c2
commit ee9bed06cd
6 changed files with 1 additions and 98 deletions

View File

@@ -90,8 +90,6 @@ void netdev_close(struct netdev *);
bool netdev_exists(const char *name);
bool netdev_is_open(const char *name);
int netdev_enumerate(struct sset *);
void netdev_parse_name(const char *netdev_name, char **name, char **type);
/* Options. */