From patchwork Wed Sep 11 12:13:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 827436 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp769325wrc; Wed, 11 Sep 2024 05:33:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW7it1y5YeRGQoGvLDlJZKVMo74tTO9OoLx/YZjcqvGsKuLbYSWGh/0vco4L0bLt8pGxGVlsw==@linaro.org X-Google-Smtp-Source: AGHT+IE3h9r+jBwAMbaZUngT73aFQecDxjA0FTPXYMNkW/5HelTfcU8V7moidyxaFCe+a3Ae+UvQ X-Received: by 2002:a05:6122:36a6:b0:4eb:5cb9:f219 with SMTP id 71dfb90a1353d-501e77a1e11mr18229658e0c.0.1726057991478; Wed, 11 Sep 2024 05:33:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726057991; cv=none; d=google.com; s=arc-20240605; b=A2E3uEtAn8tt75ZdAWyyFEkmkIPlqCcGdRqq1pRd4GlllbOmbWljrs1CrFkoUIZxEk Lxl2SvAjMg8J5sLGwEAtBiquISykleAvlnfHRrtyxifSEzaTwm/8WMbA3xrw0DE8DpBE STXrm4yM914fUW/y4CmKYA+1rzUsnnlqMj1GJa0vYZvB0+Sswf0JG9YM4CjxG898MAFa 1eji9zuw/hdsL2bbS0G5opEUtK3ybyRbo4nInGKXMZ9Koe3Z01Il/rCZqtvjvKNiQulI yQ4M0vt45K7sgaLYw5YSENpvoIdMgPV90JZiyDaX8oj1kmuePM0Bzp1/QJOmMgO3lspZ 5/YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hfxOj5NR0Ht31q1ownUsuoc8rftv6XD0P5kK9ITK60I=; fh=XWTD8Z9WAMjh+M8BxQj8k30uAZD5B0T9z1nl1AeO1vA=; b=cjXtgyYUXnHO3BNpxKeNGfhjSDI2Bzh4wzY0pV16hT3pE7nmj/jNQv5Otn4PJDrYs/ PGO1EhBx3X0SfbY5bmkdQW52gmvzw3xS0zVCwgc2NV/TnXqXT0MJ+1DISqLxsNG9jLfd HEHYfVh9WPI9kUkd4vqnqdkYjHJeCEUrft2aIXYtzTLnE80RQ7AlULWngQMHR48izw5S j9QMmE32QH2fzMV22mRxvjefkLRv03y3ZBz1PMOFizk8n7GnLJIy5JXv0v2T3MNVhMuI bzwuYuSo+KJxPPlO1p87t63p+SmzROZCe+APxgjUAD7lUTfTJBAwBdUkUbgrWLxRpvsY jd7w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JcQRuHyA; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-49c16ccddc0si919669137.197.2024.09.11.05.33.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2024 05:33:11 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JcQRuHyA; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soMJj-0000nD-Tx; Wed, 11 Sep 2024 08:19: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 1soMHt-0001AI-G8 for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:17:35 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soMHd-0007Xj-PK for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:17:23 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-374cacf18b1so3844308f8f.2 for ; Wed, 11 Sep 2024 05:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726057024; x=1726661824; darn=nongnu.org; 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=hfxOj5NR0Ht31q1ownUsuoc8rftv6XD0P5kK9ITK60I=; b=JcQRuHyAOYdj3XHK92dOLtLBqWhhC27BjxwbOLPanW5rRHu1YVOslRhymNJQiflhQw ARXcPp0yN65ArXGPo0TV6hVOrWO6nczgLWgrXhw0C7yngrH3pGnqwSWCGPlqXbF4+ba9 53DJ3/E3cu01uhsHw4R0H31ZhoM/DKTSNTs6pxUESTskHGGQDqrLL49SAzemXdEX/lbX dWyI369bBZ8J8tIPmuWuiaIYKzi9ZtPojoY23097AvzGSlZRxMHjBKGiS1+KxosYZUYl TROjPiOaNgb4nmOZxN8z2VvWeIv+2LGPDocz6e3qu5CRCwQSJkNtKxFuDX/1XFjtNCDR eyxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726057024; x=1726661824; 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=hfxOj5NR0Ht31q1ownUsuoc8rftv6XD0P5kK9ITK60I=; b=wh0tiq8qxCQkMpRRv908ochjpKPFlzJqcJLm6d96IEr84Uxcy5LjHyH7haXhsyl5dk FsPCGa/7vtU01yDRKPfcpvcihpnKFbSURnhKJdbCKaVfBp0jtrHx3lVdMUIfHvAOCYsr xfIHhsubWwBzbSx3k3v+X+bZI923e8OUDoHJRWUcPXarIU/ddjEJ4YNcM0+P0Iwqm/uG 1NzlZyugTwHBE+fqHD70eF4XdP0fHfbUdCt43CqFTbG3//jSLU06swjHie9sDNFQDL3m hd4bDwsAqoZDR8iQEJBry/00OA6pyIoIn6QKv9UIjhUHAArktd89H6GP2TU0hBL6qrCE y7nA== X-Gm-Message-State: AOJu0YxO+CtX1zZj9ZN6Uq4ocz+2kZCgBh21KdKgq1IL54g6/UYCR9Q/ O+f/CUUYZaSJOV4C6zdd9jJ86tD12ga/+k/of0oN8Zzu4Q2fC4m6IT8eDiCWc7agLZemwudLBcE 0 X-Received: by 2002:a5d:4609:0:b0:378:8dea:4bee with SMTP id ffacd0b85a97d-3789269ed5bmr7520785f8f.33.1726057024211; Wed, 11 Sep 2024 05:17:04 -0700 (PDT) Received: from m1x-phil.lan ([176.187.196.107]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956654e8sm11446564f8f.41.2024.09.11.05.17.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Sep 2024 05:17:03 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell Subject: [PULL 23/56] hw/char/pl011: Remove unused 'readbuff' field Date: Wed, 11 Sep 2024 14:13:48 +0200 Message-ID: <20240911121422.52585-24-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240911121422.52585-1-philmd@linaro.org> References: <20240911121422.52585-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since its introduction in commit cdbdb648b7 ("ARM Versatile Platform Baseboard emulation.") PL011State::readbuff as never been used. Remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20240719181041.49545-3-philmd@linaro.org> --- include/hw/char/pl011.h | 1 - hw/char/pl011.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/hw/char/pl011.h b/include/hw/char/pl011.h index d853802132..4fcaf3d7d3 100644 --- a/include/hw/char/pl011.h +++ b/include/hw/char/pl011.h @@ -32,7 +32,6 @@ struct PL011State { SysBusDevice parent_obj; MemoryRegion iomem; - uint32_t readbuff; uint32_t flags; uint32_t lcr; uint32_t rsr; diff --git a/hw/char/pl011.c b/hw/char/pl011.c index f8078aa216..260f5fc0bc 100644 --- a/hw/char/pl011.c +++ b/hw/char/pl011.c @@ -549,7 +549,7 @@ static const VMStateDescription vmstate_pl011 = { .minimum_version_id = 2, .post_load = pl011_post_load, .fields = (const VMStateField[]) { - VMSTATE_UINT32(readbuff, PL011State), + VMSTATE_UNUSED(sizeof(uint32_t)), VMSTATE_UINT32(flags, PL011State), VMSTATE_UINT32(lcr, PL011State), VMSTATE_UINT32(rsr, PL011State),