vl: remove unnecessary #ifdef CONFIG_TPM
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 24 Oct 2017 12:20:45 +0000 (09:20 -0300)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 25 Oct 2017 05:05:46 +0000 (01:05 -0400)
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>
vl.c

diff --git a/vl.c b/vl.c
index 0723835bbfdcf81ebbd89b26f39355a98c883720..ec299099ff616ce00e7192799e684e036dc8d6d1 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -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))