From nobody Wed Sep 10 03:12:06 2025 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=1666582470; cv=none; d=zohomail.com; s=zohoarc; b=RAr0IwO0czO7PdqSs/caEjrP7rpPc/cfduLw1Utv8PSAyo4p4Sqnh3WPdHaS9ORY2zYLlxr9kEhSL+bcoLBGGMspNwmudZXN+I9OChjPmZkjpqfZfPr8gxHhq4af+GT2j985iwWXMWJVqmOlWbaGPDtgVQP8H8GuIbEJ2cGcc7M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1666582470; 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=NZKRgAly64s5gxOr4kU+aTrMtQMjyImVG/Fq6IP+aSk=; b=L2aoFAaHKJ33ja9Wwp4+rWyKxTzRLnHtGilSGJ2ijU2F+ViLMDsS47Xwf1lPVLcQV7fxwaUUi04h2jYlKGiScG5a+v/68X3NDkBW/bs7n9lDYgBjUZRfUn730fRb8X0aHIfkUkp+TU5IxLZD9eFz2Nvs6/sCstl7/68ymHd30k8= 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 1666582470745844.8934109271415; Sun, 23 Oct 2022 20:34:30 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omhYV-0000an-Eg for importer@patchew.org; Sun, 23 Oct 2022 16:26:47 -0400 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 1omG5g-0007MT-Jp; Sat, 22 Oct 2022 11:07:12 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omG5f-0002Fy-3X; Sat, 22 Oct 2022 11:07:12 -0400 Received: by mail-ed1-x531.google.com with SMTP id q19so16093520edd.10; Sat, 22 Oct 2022 08:07:10 -0700 (PDT) Received: from localhost.localdomain (dynamic-077-191-171-138.77.191.pool.telefonica.de. [77.191.171.138]) by smtp.gmail.com with ESMTPSA id 4-20020a170906310400b00780ab5a9116sm13021558ejx.211.2022.10.22.08.07.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Oct 2022 08:07:08 -0700 (PDT) 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=NZKRgAly64s5gxOr4kU+aTrMtQMjyImVG/Fq6IP+aSk=; b=bbGnFLtwQOSi8VA0MOsSt6pfQSADgZI4Kj11jpUGaCJol0UWbUXbZgMmspHDEo6ho6 SYW74IVNw6/HgsBnnmEvT4sZ3dN58+PQEj5IAIgKbdvQYeT0NBlariwvSuJ/SYzda9o8 DdzThI2ZwhW73nlk5MSZn8E7m0c92GW89sSDNnngW+MtlfcSh/Pgr9HJyZwHX/sUfhuO eMKHP2ev2FmwNJU+wCz/IoySgxp3LsqmfslM+DkjSfFjTS1GhBaHOUuveo4JTjOuP4Pt 3BYV9LTFMlfOe0lzmdmWEeRM2ijYHfLbBXuFHfxZHPbGk8wd3LyfapOHiWLz3kGr4pps Cf0g== 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=NZKRgAly64s5gxOr4kU+aTrMtQMjyImVG/Fq6IP+aSk=; b=MYH4EZqwwFUjPiu9Uk5xccl0PN+edyA0A/oj4zNxZOXXPRe7fFggi3zeWlLNmuoBll WCTUgR/MwqpvKVkExx0qpeX/NNUttyRBET79LOEwHJ6HezGZqs72zrrITRQ3ksWn+R5E GEA8f7UJdWfmGh5SjDd7N/YlCcxIpYUAq7keGJI98sXokAVKiTqUF+ttL3Gxy9ibLeOM JtW0jzdW5hOHMDXXzgqUqaoQSYnHgq0eV7O0T6+fZDwI+qu7bwEIK8ooGWcOLPMUjicy Us8Y11/UnAcJLCDCmZEjju+Ff6+SGi396xCYlQAHgkoQ2Fs0v3Zp9IsGpONFQLoQnR7m /y+g== X-Gm-Message-State: ACrzQf38XaIxRcsQ6TdZkTVvw4y/mZ5IykrkMVowuYOC6tTODDoKbc0L 2iE3zylRBXjIq62Dq7+dP2sgjwHkfabPkw== X-Google-Smtp-Source: AMsMyM60KuhdCu8+Q8BeMvEuHhHAjuLVN2VSeTe6WbVRFhRlo8jaNuGMRZjxqKyxhQkYbPPM7PntJg== X-Received: by 2002:a17:906:7621:b0:750:c4a3:8fcd with SMTP id c1-20020a170906762100b00750c4a38fcdmr21279445ejn.180.1666451229851; Sat, 22 Oct 2022 08:07:09 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: Eduardo Habkost , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Aurelien Jarno , Igor Mammedov , Gerd Hoffmann , John Snow , Jiaxun Yang , Ani Sinha , Marcel Apfelbaum , qemu-block@nongnu.org, Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "Michael S. Tsirkin" , Paolo Bonzini , Bernhard Beschow Subject: [PATCH v2 31/43] hw/isa/piix4: Remove unused code Date: Sat, 22 Oct 2022 17:04:56 +0200 Message-Id: <20221022150508.26830-32-shentey@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022150508.26830-1-shentey@gmail.com> References: <20221022150508.26830-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::531; envelope-from=shentey@gmail.com; helo=mail-ed1-x531.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" X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1666582471570100001 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 --- hw/isa/piix4.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c index 57b0b98bef..d65f486008 100644 --- a/hw/isa/piix4.c +++ b/hw/isa/piix4.c @@ -182,12 +182,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) { @@ -231,8 +225,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