From nobody Thu Nov 6 19:12:40 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1488344279653150.6108295587028; Tue, 28 Feb 2017 20:57:59 -0800 (PST) Received: from localhost ([::1]:38400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciwKs-0003Ec-9i for importer@patchew.org; Tue, 28 Feb 2017 23:57:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciw7p-00084Q-AG for qemu-devel@nongnu.org; Tue, 28 Feb 2017 23:44:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciw7m-00007H-Dc for qemu-devel@nongnu.org; Tue, 28 Feb 2017 23:44:29 -0500 Received: from ozlabs.org ([103.22.144.67]:52857) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ciw7l-00005C-UT; Tue, 28 Feb 2017 23:44:26 -0500 Received: by ozlabs.org (Postfix, from userid 1007) id 3vY2sT1cYZz9sNt; Wed, 1 Mar 2017 15:44:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1488343453; bh=XTebPL+JpzLqTQuAxArmoY33HajqO9ll9e+8gnxQ8PY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iLnURJ02hvlxI79UfZGb9UR03DL61bIq0pCWSFWPQMx1pcFsVzkijxaPHQVSpEgpU 5qNCWcg2HTx/YKNvQg3IXHY+wumAyf5BJLbQ7kH/yM49GF5eRoOmGPMU97L5darSo3 UMLdGCvacgCJFq+weQIby5XyRcuBI+8DsrqQho30= From: David Gibson To: peter.maydell@linaro.org Date: Wed, 1 Mar 2017 15:43:49 +1100 Message-Id: <20170301044405.1792-35-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170301044405.1792-1-david@gibson.dropbear.id.au> References: <20170301044405.1792-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 103.22.144.67 Subject: [Qemu-devel] [PULL 34/50] ppc/xics: remove xics_find_source() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, thuth@redhat.com, qemu-devel@nongnu.org, aik@ozlabs.ru, mdroth@linux.vnet.ibm.com, agraf@suse.de, qemu-ppc@nongnu.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: C=C3=A9dric Le Goater It is not used anymore now that we have the QOM interface for XICS. Signed-off-by: C=C3=A9dric Le Goater Reviewed-by: David Gibson Signed-off-by: David Gibson --- hw/intc/xics.c | 12 ------------ include/hw/ppc/xics.h | 1 - 2 files changed, 13 deletions(-) diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 23e45a8..a71d385 100644 --- a/hw/intc/xics.c +++ b/hw/intc/xics.c @@ -756,18 +756,6 @@ static const TypeInfo xics_fabric_info =3D { /* * Exported functions */ -ICSState *xics_find_source(XICSState *xics, int irq) -{ - ICSState *ics; - - QLIST_FOREACH(ics, &xics->ics, list) { - if (ics_valid_irq(ics, irq)) { - return ics; - } - } - return NULL; -} - qemu_irq xics_get_qirq(XICSFabric *xi, int irq) { XICSFabricClass *xic =3D XICS_FABRIC_GET_CLASS(xi); diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h index b880715..db2bb04 100644 --- a/include/hw/ppc/xics.h +++ b/include/hw/ppc/xics.h @@ -224,7 +224,6 @@ void ics_simple_write_xive(ICSState *ics, int nr, int s= erver, =20 void ics_set_irq_type(ICSState *ics, int srcno, bool lsi); =20 -ICSState *xics_find_source(XICSState *icp, int irq); void ics_resend(ICSState *ics); =20 #endif /* XICS_H */ --=20 2.9.3