From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6yCp-0006QU-NM for qemu-devel@nongnu.org; Tue, 24 Oct 2017 08:21:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6yCi-00077n-VL for qemu-devel@nongnu.org; Tue, 24 Oct 2017 08:21:14 -0400 Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Tue, 24 Oct 2017 09:20:44 -0300 Message-Id: <20171024122045.30072-4-f4bug@amsat.org> In-Reply-To: <20171024122045.30072-1-f4bug@amsat.org> References: <20171024122045.30072-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v2 3/4] tpm: remove unnecessary #ifdef CONFIG_TPM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: BALATON Zoltan , "Richard W . M . Jones" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Stefan Berger , Amarnath Valluri , Juan Quintela , Peter Maydell Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, qemu-trivial@nongnu.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , "Dr . David Alan Gilbert" , Peter Xu Makefile.objs now checks for $(CONFIG_TPM). Suggested-by: Stefan Berger Signed-off-by: Philippe Mathieu-Daudé --- 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. -- 2.15.0.rc1