Acked-by: Ethan Jackson <et...@nicira.com>
On Fri, Mar 15, 2013 at 3:55 PM, Ben Pfaff <b...@nicira.com> wrote: > Signed-off-by: Ben Pfaff <b...@nicira.com> > --- > lib/netdev.c | 8 -------- > lib/netdev.h | 2 -- > 2 files changed, 0 insertions(+), 10 deletions(-) > > diff --git a/lib/netdev.c b/lib/netdev.c > index 77080ea..156984a 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 > diff --git a/lib/netdev.h b/lib/netdev.h > index 425942f..aab9de0 100644 > --- a/lib/netdev.h > +++ b/lib/netdev.h > @@ -114,8 +114,6 @@ void netdev_enumerate_types(struct sset *types); > int netdev_open(const char *name, const char *type, struct netdev **); > void netdev_close(struct netdev *); > > -bool netdev_is_open(const char *name); > - > void netdev_parse_name(const char *netdev_name, char **name, char **type); > > /* Options. */ > -- > 1.7.2.5 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev >
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev