From: "Valluri, Amarnath" <amarnath.valluri@intel.com>
To: "f4bug@amsat.org" <f4bug@amsat.org>
Cc: "dgilbert@redhat.com" <dgilbert@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"qemu-trivial@nongnu.org" <qemu-trivial@nongnu.org>,
"peterx@redhat.com" <peterx@redhat.com>,
"marcandre.lureau@gmail.com" <marcandre.lureau@gmail.com>
Subject: Re: [Qemu-devel] [PATCH v2 3/4] tpm: remove unnecessary #ifdef CONFIG_TPM
Date: Thu, 26 Oct 2017 07:04:52 +0000 [thread overview]
Message-ID: <1509001534.3135.20.camel@intel.com> (raw)
In-Reply-To: <20171024122045.30072-4-f4bug@amsat.org>
On Tue, 2017-10-24 at 09:20 -0300, Philippe Mathieu-Daudé wrote:
> Makefile.objs now checks for $(CONFIG_TPM).
>
> Suggested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
Reviewed-by: Amarnath Valluri <amarnath.valluri@intel.com>
> tpm.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/tpm.c b/tpm.c
> index 45520f555d..ab5d29e91e 100644
> --- a/tpm.c
> +++ b/tpm.c
> @@ -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.
next prev parent reply other threads:[~2017-10-26 7:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-24 12:20 [Qemu-devel] [PATCH v2 0/4] tpm: add stubs to fix compiling with --disable-tpm Philippe Mathieu-Daudé
2017-10-24 12:20 ` [Qemu-devel] [PATCH v2 1/4] tpm: add missing include Philippe Mathieu-Daudé
2017-10-24 12:20 ` [Qemu-devel] [PATCH v2 2/4] tpm: add stubs Philippe Mathieu-Daudé
2017-10-24 23:20 ` Juan Quintela
2017-10-26 7:06 ` Valluri, Amarnath
2017-10-24 12:20 ` [Qemu-devel] [PATCH v2 3/4] tpm: remove unnecessary #ifdef CONFIG_TPM Philippe Mathieu-Daudé
2017-10-24 17:35 ` Stefan Berger
2017-10-24 23:20 ` Juan Quintela
2017-10-26 7:04 ` Valluri, Amarnath [this message]
2017-10-24 12:20 ` [Qemu-devel] [PATCH v2 4/4] vl: " Philippe Mathieu-Daudé
2017-10-24 23:20 ` Juan Quintela
2017-10-26 7:03 ` Valluri, Amarnath
2017-10-24 12:39 ` [Qemu-devel] [PATCH v2 0/4] tpm: add stubs to fix compiling with --disable-tpm Richard W.M. Jones
2017-10-24 13:23 ` Philippe Mathieu-Daudé
2017-10-24 18:19 ` Amarnath Valluri
2017-10-25 13:30 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1509001534.3135.20.camel@intel.com \
--to=amarnath.valluri@intel.com \
--cc=dgilbert@redhat.com \
--cc=f4bug@amsat.org \
--cc=marcandre.lureau@gmail.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).