From 11fb99e6f48ca51364e070bb3cd365680edee90c Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Tue, 15 Jun 2021 16:21:17 +0200 Subject: i386: Eliminate all TPM related code if CONFIG_TPM is not set Cc: Michael S. Tsirkin Cc: Igor Mammedov Signed-off-by: Stefan Berger Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20210614191335.1968807-2-stefanb@linux.ibm.com> Signed-off-by: Philippe Mathieu-Daudé --- stubs/tpm.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'stubs') 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) -{ -} -- cgit v1.2.3-55-g7522