summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tpm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tpm.c b/tpm.c
index 4882501bd7..45520f555d 100644
--- a/tpm.c
+++ b/tpm.c
@@ -86,7 +86,7 @@ TPMBackend *qemu_find_tpm(const char *id)
return NULL;
}
-static int configure_tpm(QemuOpts *opts)
+static int tpm_init_tpmdev(void *dummy, QemuOpts *opts, Error **errp)
{
const char *value;
const char *id;
@@ -145,11 +145,6 @@ static int configure_tpm(QemuOpts *opts)
return 0;
}
-static int tpm_init_tpmdev(void *dummy, QemuOpts *opts, Error **errp)
-{
- return configure_tpm(opts);
-}
-
/*
* Walk the list of TPM backend drivers that are in use and call their
* destroy function to have them cleaned up.