summaryrefslogtreecommitdiff
path: root/iothread.c
diff options
context:
space:
mode:
authorThomas Huth <huth@tuxfamily.org>2015-05-03 10:47:22 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2015-05-08 14:11:10 +0300
commitac9541579eb95b0b8c93ca58d0a074e1f22cd55a (patch)
treebb78a0cbdd832006cbc08e90b9b1309e58ad3f64 /iothread.c
parent973a8529c54f9e4410a0e4a18ca1dcb2b085ca7e (diff)
Remove various unused functions
The functions tpm_backend_thread_tpm_reset() and iothread_find() are completely unused, let's remove them. Signed-off-by: Thomas Huth <huth@tuxfamily.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'iothread.c')
-rw-r--r--iothread.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/iothread.c b/iothread.c
index a1f91099bc..0416fc4268 100644
--- a/iothread.c
+++ b/iothread.c
@@ -114,18 +114,6 @@ static void iothread_register_types(void)
type_init(iothread_register_types)
-IOThread *iothread_find(const char *id)
-{
- Object *container = container_get(object_get_root(), IOTHREADS_PATH);
- Object *child;
-
- child = object_property_get_link(container, id, NULL);
- if (!child) {
- return NULL;
- }
- return (IOThread *)object_dynamic_cast(child, TYPE_IOTHREAD);
-}
-
char *iothread_get_id(IOThread *iothread)
{
return object_get_canonical_path_component(OBJECT(iothread));