qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH 3/3] vl: remove unnecessary #ifdef CONFIG_TPM


From: Stefan Berger
Subject: Re: [Qemu-trivial] [PATCH 3/3] vl: remove unnecessary #ifdef CONFIG_TPM
Date: Mon, 23 Oct 2017 17:47:23 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 10/23/2017 05:33 PM, Philippe Mathieu-Daudé wrote:
a stub is now provided.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
  vl.c | 2 --
  1 file changed, 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))


Now you should be able to also remove the #ifdef CONFIG_TPM from ./tpm.c.

   Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]