Received: from eggs.gnu.org ([2001:4830:134:3::10]:55343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTrbF-0003OM-99 for qemu-devel@nongnu.org; Mon, 03 Dec 2018 12:01:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTrbB-0002vm-LE for qemu-devel@nongnu.org; Mon, 03 Dec 2018 12:01:37 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39200) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gTrbB-0002ns-70 for qemu-devel@nongnu.org; Mon, 03 Dec 2018 12:01:33 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wB3Gtv6k078917 for ; Mon, 3 Dec 2018 12:01:18 -0500 Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by mx0a-001b2d01.pphosted.com with ESMTP id 2p57n43hvt-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 03 Dec 2018 12:01:17 -0500 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 3 Dec 2018 17:01:13 -0000 From: Stefan Berger Date: Mon, 3 Dec 2018 12:01:04 -0500 In-Reply-To: <20181203170105.2367492-1-stefanb@linux.vnet.ibm.com> References: <20181203170105.2367492-1-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Message-Id: <20181203170105.2367492-2-stefanb@linux.vnet.ibm.com> Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 1/2] tpm: Remove unused locty parameter from tpm_tis_abort() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ppandit@redhat.com, marcandre.lureau@gmail.com, Stefan Berger , Stefan Berger Remove the unused locty parameter from tpm_tis_abort() function. Signed-off-by: Stefan Berger Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/tpm/tpm_tis.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c index d9322692ee..176d424ed9 100644 --- a/hw/tpm/tpm_tis.c +++ b/hw/tpm/tpm_tis.c @@ -233,7 +233,7 @@ static void tpm_tis_new_active_locality(TPMState *s, = uint8_t new_active_locty) } =20 /* abort -- this function switches the locality */ -static void tpm_tis_abort(TPMState *s, uint8_t locty) +static void tpm_tis_abort(TPMState *s) { s->rw_offset =3D 0; =20 @@ -281,7 +281,7 @@ static void tpm_tis_prep_abort(TPMState *s, uint8_t l= octy, uint8_t newlocty) } } =20 - tpm_tis_abort(s, locty); + tpm_tis_abort(s); } =20 /* @@ -311,7 +311,7 @@ static void tpm_tis_request_completed(TPMIf *ti, int = ret) } =20 if (TPM_TIS_IS_VALID_LOCTY(s->next_locty)) { - tpm_tis_abort(s, locty); + tpm_tis_abort(s); } =20 tpm_tis_raise_irq(s, locty, --=20 2.17.1