summaryrefslogtreecommitdiff
path: root/lib/netdev-vport.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2011-09-22 21:24:14 +0900
committerBen Pfaff <blp@nicira.com>2011-09-22 09:03:03 -0700
commitee9bed06cd2794ced29190b6c6539993159d76f5 (patch)
tree6a9110087081dd13869d3e175dc56b62824ef344 /lib/netdev-vport.c
parent00fa9d37c2b2166358d9967a5fa03dc1ae45b2ca (diff)
downloadopenvswitch-ee9bed06cd2794ced29190b6c6539993159d76f5.tar.gz
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).
Diffstat (limited to 'lib/netdev-vport.c')
-rw-r--r--lib/netdev-vport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index d85d52845..06ec8fbed 100644
--- a/lib/netdev-vport.c
+++ b/lib/netdev-vport.c
@@ -885,8 +885,6 @@ unparse_patch_config(const char *name OVS_UNUSED, const char *type OVS_UNUSED,
netdev_vport_open, \
netdev_vport_close, \
\
- NULL, /* enumerate */ \
- \
NULL, /* listen */ \
NULL, /* recv */ \
NULL, /* recv_wait */ \