From ac9541579eb95b0b8c93ca58d0a074e1f22cd55a Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Sun, 3 May 2015 10:47:22 +0200 Subject: 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 Reviewed-by: Stefan Hajnoczi Signed-off-by: Michael Tokarev --- backends/tpm.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'backends') diff --git a/backends/tpm.c b/backends/tpm.c index 4efe36736e..36c5d46f0a 100644 --- a/backends/tpm.c +++ b/backends/tpm.c @@ -165,17 +165,6 @@ void tpm_backend_thread_end(TPMBackendThread *tbt) } } -void tpm_backend_thread_tpm_reset(TPMBackendThread *tbt, - GFunc func, gpointer user_data) -{ - if (!tbt->pool) { - tpm_backend_thread_create(tbt, func, user_data); - } else { - g_thread_pool_push(tbt->pool, (gpointer)TPM_BACKEND_CMD_TPM_RESET, - NULL); - } -} - static const TypeInfo tpm_backend_info = { .name = TYPE_TPM_BACKEND, .parent = TYPE_OBJECT, -- cgit v1.2.3