diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2021-06-15 16:21:17 +0200 |
---|---|---|
committer | Stefan Berger <stefanb@linux.ibm.com> | 2021-06-15 10:54:46 -0400 |
commit | 11fb99e6f48ca51364e070bb3cd365680edee90c (patch) | |
tree | 63a651712b009a76edd266b5eba22c07e3b692b1 /stubs | |
parent | 1ea06abceec61b6f3ab33dadb0510b6e09fb61e2 (diff) |
i386: Eliminate all TPM related code if CONFIG_TPM is not set
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210614191335.1968807-2-stefanb@linux.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r-- | stubs/tpm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/stubs/tpm.c b/stubs/tpm.c index 9bded191d9..22014595a0 100644 --- a/stubs/tpm.c +++ b/stubs/tpm.c @@ -33,7 +33,3 @@ TpmModelList *qmp_query_tpm_models(Error **errp) { return NULL; } - -void tpm_build_ppi_acpi(TPMIf *tpm, Aml *dev) -{ -} |