From nobody Sun May 19 11:06:49 2024 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=1684871820; cv=none; d=zohomail.com; s=zohoarc; b=L38MnTZ+U3vivTB+hG/BQSkeLAYBpPCq3TMyCKMf52VVSKb9OMZjsyExDLZXUCmOMInmNpIaaCEJU9h93tNtEsnaZafhwbp4w0rvuchS21AUY3d/ALjwRav1mRbQRxmcxj2BDrWIXGnN7XaBV/JYbdOqJZ/mm24af+podbUzB2c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684871820; h=Content-Type: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=Anz5dlSMRx2Ue0AdMLdpzN5IRHRJ9vVknwSj+KlouiQ=; b=bMBuFeCgoFC7b3GiR78TOuZgW15YFsME5Ya4cZUIHHt6BPUOp2OBwUcs0yn9uLKAowpl5cBS4bZ2T0La8RwvfkzhkrINwCRjgYEu2KHO26tvjBBQsfHktgpwVlZV+E4Bp7fIsDpYiQCseqIq1kiLKob5yhIWhVif422OwRkHTu8= 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 1684871820422189.65719819920946; Tue, 23 May 2023 12:57:00 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1Y7L-0000Pg-U2; Tue, 23 May 2023 15:56:23 -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 1q1Y7K-0000Nh-CN; Tue, 23 May 2023 15:56:22 -0400 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 1q1Y7I-0006SF-Od; Tue, 23 May 2023 15:56:22 -0400 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-96fa4a6a79bso603882466b.3; Tue, 23 May 2023 12:56:19 -0700 (PDT) Received: from Provence.localdomain (dynamic-077-183-025-113.77.183.pool.telefonica.de. [77.183.25.113]) by smtp.gmail.com with ESMTPSA id dk13-20020a170906f0cd00b00965af4c7f07sm4737740ejb.20.2023.05.23.12.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 12:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684871778; x=1687463778; 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=Anz5dlSMRx2Ue0AdMLdpzN5IRHRJ9vVknwSj+KlouiQ=; b=lhavaWV+SYTjo+t3S5Fuv8/3rTstVvBx6aE+XMI7G9/YILZZgGoqegTF4DN052SsqQ iAUcU3TYay1ie7OJphU2xE9UwUG39MwOdNXusTc91ywsV1Gz/vMjvvuzkU29s8lcwLyg FcG9aMbkHKSVgAtUALoFPEqFtbcM6E8AEItXg8G7geYZarXse39HM5IcfEM9AMAfaD24 29xW+EJjJ5eHKJ/0UJO5u9cRygAavLiHZzZL/l70G95Ki6xN0Lkt+k4gj5N5wKAdEs3s i6CLLAmQmZuVVjFmFpdUivzUmd2sP3S2g5ypWy7xSXNGzABiE46QqAXU8Sy9i1FWWKnj kCcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684871778; x=1687463778; 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=Anz5dlSMRx2Ue0AdMLdpzN5IRHRJ9vVknwSj+KlouiQ=; b=gMTz1TQuRWJbFnshSWvzD57UHk58yKa2nGrEQYdRdel+PtMyeysjClfPBwQi4Buj3/ hoDUKkk/A27yy7lVx7dTgL6dDXyFLnKz81O65rrOf4+FHZdekNA/C825L7YM0vq7The8 J0RANZNEGPAfPu33e5xrUAAP4k73XOFQkL1yWhxwYrsrQWEaHaRPcpa02NfRcy0Q/lZx rGK9WgcJKyTqzVwSuGN6+jKV0NMZkiYP6cuOgyEF5RphNsn0dOC5IlXVycR50VK7cF7/ KXefiseqyIv33A1IlNyYzbYaf0truBuUTrz/wjsdrpoea5rdJvVp+SQwS8ZPF0dFHUCY HOaw== X-Gm-Message-State: AC+VfDwFxT+YHKFoHs2cIeYnCTGBiBNH0SNP7rRnEqkEnr1fAmfaLXL+ ti4Hag2VAsyC1QliK89o7rWNjsks1ao= X-Google-Smtp-Source: ACHHUZ4mb7KXdDurq+1tOk1ptoZqbWeTgfymx1bxd/sh0EeDEQdiRXtooLMdgUZValSmHr9yx8XmRQ== X-Received: by 2002:a17:907:25cd:b0:96f:3f1c:3fd3 with SMTP id ae13-20020a17090725cd00b0096f3f1c3fd3mr12360958ejc.77.1684871778101; Tue, 23 May 2023 12:56:18 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Richard Henderson , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , "Michael S. Tsirkin" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , qemu-ppc@nongnu.org, Marcel Apfelbaum , Eduardo Habkost , Michael Tokarev , qemu-arm@nongnu.org, Laurent Vivier , Paolo Bonzini , Bernhard Beschow , Mark Cave-Ayland , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 1/3] hw/timer/i8254_common: Share "iobase" property via base class Date: Tue, 23 May 2023 21:56:06 +0200 Message-Id: <20230523195608.125820-2-shentey@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523195608.125820-1-shentey@gmail.com> References: <20230523195608.125820-1-shentey@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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, T_SCC_BODY_TEXT_LINE=-0.01 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: 1684871822466100007 Both TYPE_KVM_I8254 and TYPE_I8254 have their own but same implementation of the "iobase" property. The storage for the property already resides in PITCommonState, so also move the property definition there. Signed-off-by: Bernhard Beschow Acked-by: Michael S. Tsirkin Reviewed-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/i386/kvm/i8254.c | 1 - hw/timer/i8254.c | 6 ------ hw/timer/i8254_common.c | 6 ++++++ 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hw/i386/kvm/i8254.c b/hw/i386/kvm/i8254.c index 191a26fa57..6a7383d877 100644 --- a/hw/i386/kvm/i8254.c +++ b/hw/i386/kvm/i8254.c @@ -301,7 +301,6 @@ static void kvm_pit_realizefn(DeviceState *dev, Error *= *errp) } =20 static Property kvm_pit_properties[] =3D { - DEFINE_PROP_UINT32("iobase", PITCommonState, iobase, -1), DEFINE_PROP_LOSTTICKPOLICY("lost_tick_policy", KVMPITState, lost_tick_policy, LOST_TICK_POLICY_DELAY), DEFINE_PROP_END_OF_LIST(), diff --git a/hw/timer/i8254.c b/hw/timer/i8254.c index c8388ea432..c235496fc9 100644 --- a/hw/timer/i8254.c +++ b/hw/timer/i8254.c @@ -350,11 +350,6 @@ static void pit_realizefn(DeviceState *dev, Error **er= rp) pc->parent_realize(dev, errp); } =20 -static Property pit_properties[] =3D { - DEFINE_PROP_UINT32("iobase", PITCommonState, iobase, -1), - DEFINE_PROP_END_OF_LIST(), -}; - static void pit_class_initfn(ObjectClass *klass, void *data) { PITClass *pc =3D PIT_CLASS(klass); @@ -366,7 +361,6 @@ static void pit_class_initfn(ObjectClass *klass, void *= data) k->get_channel_info =3D pit_get_channel_info_common; k->post_load =3D pit_post_load; dc->reset =3D pit_reset; - device_class_set_props(dc, pit_properties); } =20 static const TypeInfo pit_info =3D { diff --git a/hw/timer/i8254_common.c b/hw/timer/i8254_common.c index 050875b497..e4093e2904 100644 --- a/hw/timer/i8254_common.c +++ b/hw/timer/i8254_common.c @@ -240,6 +240,11 @@ static const VMStateDescription vmstate_pit_common =3D= { } }; =20 +static Property pit_common_properties[] =3D { + DEFINE_PROP_UINT32("iobase", PITCommonState, iobase, -1), + DEFINE_PROP_END_OF_LIST(), +}; + static void pit_common_class_init(ObjectClass *klass, void *data) { DeviceClass *dc =3D DEVICE_CLASS(klass); @@ -252,6 +257,7 @@ static void pit_common_class_init(ObjectClass *klass, v= oid *data) * done by board code. */ dc->user_creatable =3D false; + device_class_set_props(dc, pit_common_properties); } =20 static const TypeInfo pit_common_type =3D { --=20 2.40.1 From nobody Sun May 19 11:06:49 2024 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=1684871817; cv=none; d=zohomail.com; s=zohoarc; b=mUF5RuVbpc8KC9cukbEzmkfcCYUF1+TzvywTAiMSJb6Lspnwr6LgSfQ7DuF6UsfLRLihwA0mWUGoIEIWEiOBXlQbwxdayeGRHE/nBWOaIfTUZrN4Je3aT2UHAScJRpGXMZmTXloVuH8tsksSQHwizmqtZ7GfF7BnrDktHTQ3TYI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684871817; h=Content-Type: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=iS6IllWr8xotqYJ+kDfnN1bLpimUHqJGv84Pvf7+lk4=; b=AZMVQIQzTlVPYD7lnFsXJ9Ep/ezQGnENfm0yIOeo0eXN2dgvswJGU9z0OgFXAvEYWSSmL9l/x0bdCdB7xhFxDVl5PDyFft+FWO9kyVjt9vljVCwgZlHwbahoMWcy+u1iUJgJwBs/hKBC/SMGP9BzfIfRi7rQl0zD513f8W8t8R0= 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 1684871817967593.3493112218209; Tue, 23 May 2023 12:56:57 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1Y7N-0000QL-JL; Tue, 23 May 2023 15:56:25 -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 1q1Y7L-0000PL-Ie; Tue, 23 May 2023 15:56:23 -0400 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 1q1Y7J-0006Sf-Pf; Tue, 23 May 2023 15:56:23 -0400 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-96f5d651170so1069796666b.1; Tue, 23 May 2023 12:56:20 -0700 (PDT) Received: from Provence.localdomain (dynamic-077-183-025-113.77.183.pool.telefonica.de. [77.183.25.113]) by smtp.gmail.com with ESMTPSA id dk13-20020a170906f0cd00b00965af4c7f07sm4737740ejb.20.2023.05.23.12.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 12:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684871779; x=1687463779; 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=iS6IllWr8xotqYJ+kDfnN1bLpimUHqJGv84Pvf7+lk4=; b=noYpsQ38ZTHGFEc4EdG9nozXZHSKxaIFk5ZE03hFwGNk4fnAWEPS+Zri61YEBXBzIP /c8FwTuQjSkUF9H9sV0LpGQMQ2S9jJP6JgBoqgS4Delf3Wn/2wLx9anYaXFb8pJAReir X9pGmNn9yRwWmDXjslE/mYVXQj/qh0LVsQi0gEMZbxz2e8sbas7iw/mFoRraqvId2uEZ nN2E6826CbhBgcDuMbFJ1835C23jYNK9GeTFa0R8wJ1SoiUj2NOxnm0qRKJUJohQSxhn x5BHVyrm3f+EBgOlJ0yQF67xs3eByd2cqFLbwj8MR0ZlElMsJKoe3S1nLUquwI7NBzbL Fv7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684871779; x=1687463779; 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=iS6IllWr8xotqYJ+kDfnN1bLpimUHqJGv84Pvf7+lk4=; b=GNz0pViaTbRL5YbzDQJPlcDhu9ah9Ki+De0pJrDoGTTf+/Jt6D73i1BA55yRfKZMAL fSd78rgokRiHix4POCfcG/eW1dLBhCR8v+zsYzpFuYmDbz9IyRZt8DGnYQKgR+R2Ih2W /Ndm9SoFoQQaG0BZia9I40S8WvNDpZlO19sELjXUx6KDmM7K1AuwInA3W9N6A+adq7Eu 5+tXncdASQWkwmx1ihpbCpDr5WvN8pTIHHxgTOm1QBmQUIrSbDJNAqdfvo6n8ohxoWlE /E2KrY0PiMUJxzjknTF3SeXjuVzDk00bIFE7afMvBNFBfEiaiiDTeVT9/hOPqTCVzq3L nvdA== X-Gm-Message-State: AC+VfDzMe/J1rb0YyMCddAEZmVT6Gkldwb9Of9UGOBAC+iQv1DHh86N6 kT/a63rUFNLo50vEf5E8ROPWZKkSfmA= X-Google-Smtp-Source: ACHHUZ5ftlxumZm0nTwAfRd4UNE9Cbg4NAs/E0kx40xKu0kP60UAZIOWIPXln9ZLAXy3Af+H1wbeOg== X-Received: by 2002:a17:907:d15:b0:966:4669:7e8d with SMTP id gn21-20020a1709070d1500b0096646697e8dmr15182949ejc.16.1684871779340; Tue, 23 May 2023 12:56:19 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Richard Henderson , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , "Michael S. Tsirkin" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , qemu-ppc@nongnu.org, Marcel Apfelbaum , Eduardo Habkost , Michael Tokarev , qemu-arm@nongnu.org, Laurent Vivier , Paolo Bonzini , Bernhard Beschow , Mark Cave-Ayland , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v3 2/3] hw/arm/omap: Remove unused omap_uart_attach() Date: Tue, 23 May 2023 21:56:07 +0200 Message-Id: <20230523195608.125820-3-shentey@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523195608.125820-1-shentey@gmail.com> References: <20230523195608.125820-1-shentey@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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, T_SCC_BODY_TEXT_LINE=-0.01 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: 1684871818613100001 The function is unused since commit bdad3654d3c55f478e538037d9eccd204e5fc8ee ('hw/arm/nseries: Remove invalid/unnecessary n8x0_uart_setup()'). Signed-off-by: Bernhard Beschow Acked-by: Michael S. Tsirkin Reviewed-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- include/hw/arm/omap.h | 1 - hw/char/omap_uart.c | 9 --------- 2 files changed, 10 deletions(-) diff --git a/include/hw/arm/omap.h b/include/hw/arm/omap.h index c275d9b681..067e9419f7 100644 --- a/include/hw/arm/omap.h +++ b/include/hw/arm/omap.h @@ -724,7 +724,6 @@ struct omap_uart_s *omap2_uart_init(MemoryRegion *sysme= m, qemu_irq txdma, qemu_irq rxdma, const char *label, Chardev *chr); void omap_uart_reset(struct omap_uart_s *s); -void omap_uart_attach(struct omap_uart_s *s, Chardev *chr); =20 struct omap_mpuio_s; qemu_irq *omap_mpuio_in_get(struct omap_mpuio_s *s); diff --git a/hw/char/omap_uart.c b/hw/char/omap_uart.c index 1c890b9201..6848bddb4e 100644 --- a/hw/char/omap_uart.c +++ b/hw/char/omap_uart.c @@ -175,12 +175,3 @@ struct omap_uart_s *omap2_uart_init(MemoryRegion *sysm= em, =20 return s; } - -void omap_uart_attach(struct omap_uart_s *s, Chardev *chr) -{ - /* TODO: Should reuse or destroy current s->serial */ - s->serial =3D serial_mm_init(get_system_memory(), s->base, 2, s->irq, - omap_clk_getrate(s->fclk) / 16, - chr ?: qemu_chr_new("null", "null", NULL), - DEVICE_NATIVE_ENDIAN); -} --=20 2.40.1 From nobody Sun May 19 11:06:49 2024 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=1684871867; cv=none; d=zohomail.com; s=zohoarc; b=DW3uEzMPdXJts6h4V0thDfTh7IO4rGlXuZkRwswNnCgDhWTuE9974Pdl0vd0hFRlTT181UJqrysTYgmbIju8eWK9vbKJVZIPpXMWXhaGuWTfbYexFc+o+rTtWt2YCaIpyzkW7g6TnpbwbPZHIGrBHD+sDUtGVNKCfkIHf/yCn18= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684871867; 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=s+kzg83eZnbuI0aq/ydKr/xkgLTYwwbEGaXyAFBj3HY=; b=TMMCUhTO6kEdmrLftjLjM4hRVy3/fXXS2bxQDi6OBkutyb0mtFWV7HFV/HLYvsoe1sQOXDCx8TtUboFnjiCuKT6uDD6pUbrU+FDlE2q1m0wVWjLRlTKFjqqSAGdxYOcHhkLNQh3xx89zrXG8zJuym0SQmzxzH1JXSCWHHJteE1g= 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 1684871867720597.7207864783029; Tue, 23 May 2023 12:57:47 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1Y7P-0000Sb-67; Tue, 23 May 2023 15:56:27 -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 1q1Y7M-0000Q4-T5; Tue, 23 May 2023 15:56:24 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1Y7L-0006T7-5F; Tue, 23 May 2023 15:56:24 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-50db91640d3so458939a12.0; Tue, 23 May 2023 12:56:21 -0700 (PDT) Received: from Provence.localdomain (dynamic-077-183-025-113.77.183.pool.telefonica.de. [77.183.25.113]) by smtp.gmail.com with ESMTPSA id dk13-20020a170906f0cd00b00965af4c7f07sm4737740ejb.20.2023.05.23.12.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 12:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684871780; x=1687463780; 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=s+kzg83eZnbuI0aq/ydKr/xkgLTYwwbEGaXyAFBj3HY=; b=eNvwKNPNgteDYPnBZEJEjw1R0aVgdKJeyujABwv9QR0W5Wzb5FG/sDY7ejFT0r7gXd HeLKbM5BVZNeeCIct+AXBw7N6VaL2e4ChyI5Bmmz+O2heIpj8mNu67OLWrFjRBX/SzgG +j8z2/HIV08VmoUCahGX+pU753zMcAPPkkOa+cp2g4knwjOJ4yHhQBPg3vPqt4L/bFyV gLlGDO9eBlVHRLPeMJyedfPabfUlnSiimeqJgpOdb+zsWgX96bp/hAriflDsz+pNV7CN zlUsHtKI3ZybHy2LgwhFSV3oW+BOijyAdDomfkPXjPzD2Yrr3ksUOnuF3uY5UB/LX1Ll DpIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684871780; x=1687463780; 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=s+kzg83eZnbuI0aq/ydKr/xkgLTYwwbEGaXyAFBj3HY=; b=NDGj1eyP7VzKpVmu34VDBDul98k0jIBC8keT+0EUoSdVvi6hXaXOxcXvAuvtJtQnvH O9uJDMLmIA/RLas9jhz6ZbhvktZuSF+VKbi60H/shB3Sixw5MomczwqbAsTVZ/FnBs7u ibPoX0pEawp4R7Ob0RVl6RQC5jAdaX3onBMiitKw2dMODcG9/QVwtavejeDQcfyqQsfp LnLlq7UDRm5kV2m5DSte3MstrhktMjI0LGCkQZ+6FTLgXilrWA3qF2ap2RQ7y+l6oyAZ /tFzja3RCFeeklajlOq+v0rYBUk8DEYHu1RENNhWPMUJ5XSIWAeygvvaYkr/6ju1KBAo Pxmw== X-Gm-Message-State: AC+VfDzJIZj4lWzE1nzKWvcxTzgYlkGBOE8cY8+knDLuNpKPfBXaGCMZ vqXlSoVuAAl6RKmzKuP3IH/kZp43dWo= X-Google-Smtp-Source: ACHHUZ7EBRurSyVm5L7HUndFmXWqmW75DROoMMzgAPi9hRoZWu3++eAUslzAAh6dC53pJQBgkOejPw== X-Received: by 2002:a17:907:7f8c:b0:94b:d57e:9d4b with SMTP id qk12-20020a1709077f8c00b0094bd57e9d4bmr15443992ejc.2.1684871780547; Tue, 23 May 2023 12:56:20 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Richard Henderson , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , "Michael S. Tsirkin" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , qemu-ppc@nongnu.org, Marcel Apfelbaum , Eduardo Habkost , Michael Tokarev , qemu-arm@nongnu.org, Laurent Vivier , Paolo Bonzini , Bernhard Beschow , Mark Cave-Ayland Subject: [PATCH v3 3/3] hw/isa/i82378: Remove unused "io" attribute Date: Tue, 23 May 2023 21:56:08 +0200 Message-Id: <20230523195608.125820-4-shentey@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523195608.125820-1-shentey@gmail.com> References: <20230523195608.125820-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::534; envelope-from=shentey@gmail.com; helo=mail-ed1-x534.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, T_SCC_BODY_TEXT_LINE=-0.01 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: 1684871868078100001 Content-Type: text/plain; charset="utf-8" The attribute isn't used since commit 5c9736789b79ea49cd236ac326f0a414f63b1= 015 "i82378: Cleanup implementation". Signed-off-by: Bernhard Beschow Acked-by: Michael S. Tsirkin Reviewed-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/isa/i82378.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/isa/i82378.c b/hw/isa/i82378.c index 5432ab5065..63e0857208 100644 --- a/hw/isa/i82378.c +++ b/hw/isa/i82378.c @@ -34,7 +34,6 @@ struct I82378State { =20 qemu_irq cpu_intr; qemu_irq *isa_irqs_in; - MemoryRegion io; }; =20 static const VMStateDescription vmstate_i82378 =3D { --=20 2.40.1