提交 3fdde7e0 编写于 作者: P Philippe Mathieu-Daudé 提交者: Stefan Berger

tpm: remove unnecessary #ifdef CONFIG_TPM

Makefile.objs now checks for $(CONFIG_TPM).
Suggested-by: NStefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: NStefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NStefan Berger <stefanb@linux.vnet.ibm.com>
上级 c39f95dc
......@@ -30,8 +30,6 @@ void tpm_register_model(enum TpmModel model)
tpm_models[model] = true;
}
#ifdef CONFIG_TPM
static const TPMBackendClass *
tpm_be_find_by_type(enum TpmType type)
{
......@@ -192,8 +190,6 @@ int tpm_config_parse(QemuOptsList *opts_list, const char *optarg)
return 0;
}
#endif /* CONFIG_TPM */
/*
* Walk the list of active TPM backends and collect information about them
* following the schema description in qapi-schema.json.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册