From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7E2G-0002m4-97 for qemu-devel@nongnu.org; Wed, 25 Oct 2017 01:15:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7E2D-0002G0-1t for qemu-devel@nongnu.org; Wed, 25 Oct 2017 01:15:24 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:56330) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7E2C-0002Ed-LC for qemu-devel@nongnu.org; Wed, 25 Oct 2017 01:15:20 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9P5Dxgf103789 for ; Wed, 25 Oct 2017 01:15:14 -0400 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0a-001b2d01.pphosted.com with ESMTP id 2dte19f5jw-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 25 Oct 2017 01:15:14 -0400 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 25 Oct 2017 01:15:13 -0400 From: Stefan Berger Date: Wed, 25 Oct 2017 01:14:58 -0400 In-Reply-To: <1508908500-25274-1-git-send-email-stefanb@linux.vnet.ibm.com> References: <1508908500-25274-1-git-send-email-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Message-Id: <1508908500-25274-4-git-send-email-stefanb@linux.vnet.ibm.com> Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 3/5] tpm: remove unnecessary #ifdef CONFIG_TPM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Berger From: Philippe Mathieu-Daud=C3=A9 Makefile.objs now checks for $(CONFIG_TPM). Suggested-by: Stefan Berger Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Stefan Berger Reviewed-by: Juan Quintela Signed-off-by: Stefan Berger --- tpm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tpm.c b/tpm.c index 45520f5..ab5d29e 100644 --- a/tpm.c +++ b/tpm.c @@ -30,8 +30,6 @@ void tpm_register_model(enum TpmModel model) tpm_models[model] =3D true; } =20 -#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 c= har *optarg) return 0; } =20 -#endif /* CONFIG_TPM */ - /* * Walk the list of active TPM backends and collect information about th= em * following the schema description in qapi-schema.json. --=20 2.5.5