mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
tpm: remove configure_tpm() hop
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
27a79d96b4
commit
76ae76bfea
1 changed files with 1 additions and 6 deletions
7
tpm.c
7
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.
|
||||
|
|
Loading…
Reference in a new issue