From nobody Mon Feb 9 15:46:04 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1670181535; cv=none; d=zohomail.com; s=zohoarc; b=oJ93oyZhTdYXKtZMBZgR2SI57+4Su+NFPruil0+TkosUccvISKm4pTugWF5Y6RH48ldrkEtplYwDLIUzZBerTKliACXNp3G+N8a9oWBnOoAYt5OFtNwwX//JjEd/65pouwqiMkqJ6RUq60ebri/b+lJJ85Qkar/qoIY9YvVvDew= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670181535; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=zK5nuVbQbCTa67pCIp/qbXP1Qf38RupVyTggBo1e+Hg=; b=ByjONPCnJpqa0jzQoo9wV+yEuN7Dx/lr15KCgHmZzT0Br5oYKPe0/+bSW7xkYljnwVMVTFQ/UBzFSQcG5TNsiL5pMqvQRQdgMBFOFGch2j42y8kgqHb0lXaEXBRygxMRMTI8vA8JryeKmgOh+gV4yE5jHv62R2SFe6Z5dee2BLQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1670181535359950.0713970605905; Sun, 4 Dec 2022 11:18:55 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1uLI-00027f-HV; Sun, 04 Dec 2022 14:08:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1uLH-00026T-Hu; Sun, 04 Dec 2022 14:07:59 -0500 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1uLG-0001bf-0N; Sun, 04 Dec 2022 14:07:59 -0500 Received: by mail-ej1-x62f.google.com with SMTP id ml11so23089975ejb.6; Sun, 04 Dec 2022 11:07:56 -0800 (PST) Received: from localhost.localdomain (dynamic-089-012-182-051.89.12.pool.telefonica.de. [89.12.182.51]) by smtp.gmail.com with ESMTPSA id j10-20020a17090623ea00b00782ee6b34f2sm5359835ejg.183.2022.12.04.11.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 11:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zK5nuVbQbCTa67pCIp/qbXP1Qf38RupVyTggBo1e+Hg=; b=XL2JNAGHzXCdSJz4ZkqWC55XAwXnvODNawtFBv7NJuVt9SKI5cDwAlIJW1yMjwkel0 g5F0ON7DKLre0zvhfRBD+0CYVsDkLOdCxgmflTHG2o2Hkm8q6N3XeXFN72D1Jk2VZDUY BQeCwe3Qk32IlSAsMqyHxcH8P8O1zUwp3sJ1mlKsifqC/3g7PJtGkW8G0GlUheSrj1+Q VvU6C4L/U/sZCGmgiRLt0KTqb3Flfnp/lwPXHqiagqRT9hIJJG5m6ilyCHc3ETEtYVpR LVBuwIK6PKLtVtXgu+TxWn22S3Op5KQiqYQGh1UOazwOuYFreSqx7WxApG9PsOAzOzk2 QMKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zK5nuVbQbCTa67pCIp/qbXP1Qf38RupVyTggBo1e+Hg=; b=2b0vub3HLruoDNNNOIHc7WkraNa2RErwtV20LX5juSZl/Cw4K1XdXTwAxbyJ91xIxD JnEGL0WSNDjUMNug1fmMWxu7MeK3iEHj+ic970YU5x+ta4cWFOoTdyYR0XZ2uPnX6aFs PWfGc9l4YaKaN05iFIK8ZO2rDzWIMFSFyfoUtwgs6fa3qebTOXOiqHgdb8iF9/xkarXu EJJE9MzFOgPKKfDa43E3WYx+I0lb9wTtmhKELSDVcxrTzFq2XVcHCRgyxKAJxjFxzhEJ BN3dobHv2zSO8P1Gc8iqHmbEp4xSyk+IVPRoCeJsCvyqShP2LLJ9pRJq081impGZxyZZ RZ9g== X-Gm-Message-State: ANoB5pmAfMk6ytIi1MdJeCAqGsXFftGlHsrrfXEOhnWvkDF5OQkiGp8p YO6ufhQourPaqTl73NfegW+ThSzwEI0= X-Google-Smtp-Source: AA0mqf6rK4MrxKwnU00FtgEnm66QsBH3Zd2tj3/gKQblm29/7aaKs4aVJjWQjzOjhwtEnFlmDO1JBA== X-Received: by 2002:a17:907:76e6:b0:7c0:543a:5229 with SMTP id kg6-20020a17090776e600b007c0543a5229mr16807534ejc.58.1670180875881; Sun, 04 Dec 2022 11:07:55 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Marcel Apfelbaum , John Snow , qemu-block@nongnu.org, Igor Mammedov , Gerd Hoffmann , Aurelien Jarno , Richard Henderson , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "Michael S. Tsirkin" , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Eduardo Habkost , Ani Sinha , Jiaxun Yang , Bernhard Beschow Subject: [PATCH 21/32] hw/isa/piix4: Remove unused code Date: Sun, 4 Dec 2022 20:05:42 +0100 Message-Id: <20221204190553.3274-22-shentey@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221204190553.3274-1-shentey@gmail.com> References: <20221204190553.3274-1-shentey@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=shentey@gmail.com; helo=mail-ej1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1670181537372100001 Content-Type: text/plain; charset="utf-8" The Malta board, which is the only user of PIIX4, doesn't connect to the exported interrupt lines. Signed-off-by: Bernhard Beschow Message-Id: <20221022150508.26830-32-shentey@gmail.com> --- hw/isa/piix4.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c index 24d943c609..dbefcb3ff4 100644 --- a/hw/isa/piix4.c +++ b/hw/isa/piix4.c @@ -180,12 +180,6 @@ static void piix4_request_i8259_irq(void *opaque, int = irq, int level) qemu_set_irq(s->cpu_intr, level); } =20 -static void piix4_set_i8259_irq(void *opaque, int irq, int level) -{ - PIIX4State *s =3D opaque; - qemu_set_irq(s->isa[irq], level); -} - static void piix4_rcr_write(void *opaque, hwaddr addr, uint64_t val, unsigned int len) { @@ -229,8 +223,6 @@ static void piix4_realize(PCIDevice *dev, Error **errp) return; } =20 - qdev_init_gpio_in_named(DEVICE(dev), piix4_set_i8259_irq, - "isa", ISA_NUM_IRQS); qdev_init_gpio_out_named(DEVICE(dev), &s->cpu_intr, "intr", 1); =20 --=20 2.38.1