From nobody Tue Sep 16 22:02:44 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1672305685903343.2513418428971; Thu, 29 Dec 2022 01:21:25 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAp45-0008CU-8L; Thu, 29 Dec 2022 04:19:05 -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 1pAp41-0008BQ-JX for qemu-devel@nongnu.org; Thu, 29 Dec 2022 04:19:02 -0500 Received: from bg4.exmail.qq.com ([43.155.65.254]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAp3z-0006yy-5i for qemu-devel@nongnu.org; Thu, 29 Dec 2022 04:19:01 -0500 Received: from ubuntu.. ( [111.196.135.79]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 29 Dec 2022 17:18:47 +0800 (CST) X-QQ-mid: bizesmtp73t1672305528tjzkslh9 X-QQ-SSF: 01200000000000C0C000000A0000000 X-QQ-FEAT: Q4gfBD3K7t+wBSBHL1sKSt7Wiwtdrh1C2z0vfzHqMb8XoHbOkNgiK+MyMWYmu 9KKamcnmIa3WaCKsk0w77RpWiwZlmFYOp01OWUlcqBfCp7zyGTHiirmJuhadIARuskzr+ld 5xYpJORnp2Fes+uh6p3XVoykWqEqd+ZT9ENZBYp2K6n0IQIo/JneZL/KNpiKlqDc2aKaOLM rJvQX+nYQ7+Oif6mstHeijETzz7YiG3VLdskT8hTUFbzrLKgDHEg3712Y7cJFzwVOKfShr9 hOGmJUTX8/LpOBMBuaUkXheW5tiPd1I6mSsWi/hLG6fw3ZRLHvaCnezLrVrS2XDAFPcir4p O1IOiXHXt8IxkoDN40BIe/+MNmD9jDlqLECx3j4JsG8u4XjhjA= X-QQ-GoodBg: 0 From: Bin Meng To: Alistair Francis , qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , Alistair Francis , Anup Patel Subject: [PATCH v2 06/12] hw/char: riscv_htif: Remove forward declarations for non-existent variables Date: Thu, 29 Dec 2022 17:18:22 +0800 Message-Id: <20221229091828.1945072-7-bmeng@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221229091828.1945072-1-bmeng@tinylab.org> References: <20221229091828.1945072-1-bmeng@tinylab.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvr:qybglogicsvr3 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=43.155.65.254; envelope-from=bmeng@tinylab.org; helo=bg4.exmail.qq.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, 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-ZM-MESSAGEID: 1672305687675000003 Content-Type: text/plain; charset="utf-8" There are forward declarations for 'vmstate_htif' and 'htif_io_ops' in riscv_htif.h however there are no definitions in the C codes. Signed-off-by: Bin Meng Reviewed-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis --- (no changes since v1) include/hw/char/riscv_htif.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/hw/char/riscv_htif.h b/include/hw/char/riscv_htif.h index 55cc352331..9e8ebbe017 100644 --- a/include/hw/char/riscv_htif.h +++ b/include/hw/char/riscv_htif.h @@ -40,9 +40,6 @@ typedef struct HTIFState { uint64_t pending_read; } HTIFState; =20 -extern const VMStateDescription vmstate_htif; -extern const MemoryRegionOps htif_io_ops; - /* HTIF symbol callback */ void htif_symbol_callback(const char *st_name, int st_info, uint64_t st_va= lue, uint64_t st_size); --=20 2.34.1