diff options
| author | Thomas Huth | 2015-05-03 10:47:22 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2015-05-08 13:11:10 +0200 |
| commit | ac9541579eb95b0b8c93ca58d0a074e1f22cd55a (patch) | |
| tree | bb78a0cbdd832006cbc08e90b9b1309e58ad3f64 /include | |
| parent | sheepdog: fix resource leak with sd_snapshot_create (diff) | |
| download | qemu-ac9541579eb95b0b8c93ca58d0a074e1f22cd55a.tar.gz qemu-ac9541579eb95b0b8c93ca58d0a074e1f22cd55a.tar.xz qemu-ac9541579eb95b0b8c93ca58d0a074e1f22cd55a.zip | |
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 'include')
| -rw-r--r-- | include/sysemu/iothread.h | 1 | ||||
| -rw-r--r-- | include/sysemu/tpm_backend_int.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/sysemu/iothread.h b/include/sysemu/iothread.h index 7c01a61d5e..2eefea1cc2 100644 --- a/include/sysemu/iothread.h +++ b/include/sysemu/iothread.h @@ -33,7 +33,6 @@ typedef struct { #define IOTHREAD(obj) \ OBJECT_CHECK(IOThread, obj, TYPE_IOTHREAD) -IOThread *iothread_find(const char *id); char *iothread_get_id(IOThread *iothread); AioContext *iothread_get_aio_context(IOThread *iothread); diff --git a/include/sysemu/tpm_backend_int.h b/include/sysemu/tpm_backend_int.h index 05d94d0f5b..40f693a0cc 100644 --- a/include/sysemu/tpm_backend_int.h +++ b/include/sysemu/tpm_backend_int.h @@ -32,8 +32,6 @@ void tpm_backend_thread_deliver_request(TPMBackendThread *tbt); void tpm_backend_thread_create(TPMBackendThread *tbt, GFunc func, gpointer user_data); void tpm_backend_thread_end(TPMBackendThread *tbt); -void tpm_backend_thread_tpm_reset(TPMBackendThread *tbt, - GFunc func, gpointer user_data); typedef enum TPMBackendCmd { TPM_BACKEND_CMD_INIT = 1, |
