summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--discover/pb-discover.c1
-rw-r--r--lib/waiter/waiter.c5
-rw-r--r--lib/waiter/waiter.h1
3 files changed, 0 insertions, 7 deletions
diff --git a/discover/pb-discover.c b/discover/pb-discover.c
index 8ab2849..70f0365 100644
--- a/discover/pb-discover.c
+++ b/discover/pb-discover.c
@@ -192,7 +192,6 @@ int main(int argc, char *argv[])
}
device_handler_destroy(handler);
- waitset_destroy(waitset);
udev_destroy(udev);
config_fini();
diff --git a/lib/waiter/waiter.c b/lib/waiter/waiter.c
index 833f63b..e201ad1 100644
--- a/lib/waiter/waiter.c
+++ b/lib/waiter/waiter.c
@@ -57,11 +57,6 @@ struct waitset *waitset_create(void *ctx)
return set;
}
-void waitset_destroy(struct waitset *set)
-{
- talloc_free(set);
-}
-
static struct waiter *waiter_new(struct waitset *set)
{
struct waiter **waiters, *waiter;
diff --git a/lib/waiter/waiter.h b/lib/waiter/waiter.h
index 58ea04c..9a8acf4 100644
--- a/lib/waiter/waiter.h
+++ b/lib/waiter/waiter.h
@@ -14,7 +14,6 @@ enum events {
typedef int (*waiter_cb)(void *);
struct waitset *waitset_create(void *ctx);
-void waitset_destroy(struct waitset *waitset);
struct waiter *waiter_register_io(struct waitset *waitset, int fd, int events,
waiter_cb callback, void *arg);
OpenPOWER on IntegriCloud