aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-10-24 09:20:45 -0300
committerStefan Berger <stefanb@linux.vnet.ibm.com>2017-10-25 01:05:46 -0400
commit2f0a11533352e40b222a250d1d0e5f58df86e22b (patch)
tree6c48d219e754ebb422b0de7019d2f0892bc3e7e8 /vl.c
parent3fdde7e0ac72a9c65b96750aa61a66aec86bbf2c (diff)
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>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 0723835bbf..ec299099ff 100644
--- 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))