X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev.c;h=156984ad1a44b7412a48b90e068841c5217f2c9c;hb=c86073a000bece35808c572a3f9313c44097aa1c;hp=77080ea76b7f3cc5fd92780f9240804eea30c316;hpb=7e3dfa3bc7770d1205bc1af15e688affb9303f26;p=sliver-openvswitch.git diff --git a/lib/netdev.c b/lib/netdev.c index 77080ea76..156984ad1 100644 --- a/lib/netdev.c +++ b/lib/netdev.c @@ -320,14 +320,6 @@ netdev_close(struct netdev *netdev) } } -/* Returns true if a network device named 'name' is currently opened, - * otherwise false. */ -bool -netdev_is_open(const char *name) -{ - return !!shash_find_data(&netdev_dev_shash, name); -} - /* Parses 'netdev_name_', which is of the form [type@]name into its component * pieces. 'name' and 'type' must be freed by the caller. */ void