mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
973a8529c5
commit
ac9541579e
4 changed files with 0 additions and 26 deletions
12
iothread.c
12
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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue