vl: remove unnecessary #ifdef CONFIG_TPM

a stub is now provided.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
Philippe Mathieu-Daudé 2017-10-24 09:20:45 -03:00 committed by Stefan Berger
parent 3fdde7e0ac
commit 2f0a115333

2
vl.c
View file

@ -4624,11 +4624,9 @@ int main(int argc, char **argv, char **envp)
exit(1);
}
#ifdef CONFIG_TPM
if (tpm_init() < 0) {
exit(1);
}
#endif
/* init the bluetooth world */
if (foreach_device_config(DEV_BT, bt_parse))