From patchwork Sun May 5 17:14:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13654593 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB5BCC4345F for ; Sun, 5 May 2024 17:16:13 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fS1-0001jR-5J; Sun, 05 May 2024 13:15:02 -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 1s3fRz-0001gz-C1 for qemu-devel@nongnu.org; Sun, 05 May 2024 13:14:59 -0400 Received: from mx.treblig.org ([2a00:1098:5b::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3fRx-0005hZ-21 for qemu-devel@nongnu.org; Sun, 05 May 2024 13:14:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=zoFRNLIY6BP1XoWwIzP9QZR90QvA4/4xhjDkn34Jg4w=; b=Mz2xSG9Ui5d0/FyD f+fpNbs2Vch4OhQDOVsMAfWv4GBjqGTBv4/PratNtRkY+zbKqukiPQ4bUPQWp0XVBHwijkrHZCveY 896QWWsNtTuFnL/MEDujQX+wyY5wkVAzJdKNPYnJ94tz4C1rToy/C7o+Fbur+MadqpbJ2zhN4kxHN X65ktBDyHS0wxhFycNl2L+8/+26XtR+fjVJCeI37RwG3x4YAEzZXin04gdVs+NgRaU/ufaWiPVnbU lL+5GI2QY8kB9We5Aba8RyDJpXP6sBFENsl/wCt+CuNoV+rHK9oKGVDwRJ99wsA7DsBCla2UOl4Mm piG0luWG6nEMcWvrwg==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3fRs-004nca-2k; Sun, 05 May 2024 17:14:52 +0000 From: "Dr. David Alan Gilbert" To: peter.maydell@linaro.org, laurent@vivier.eu Cc: qemu-devel@nongnu.org, "Dr. David Alan Gilbert" Subject: [PATCH 1/7] linux-user: cris: Remove unused struct 'rt_signal_frame' Date: Sun, 5 May 2024 18:14:38 +0100 Message-ID: <20240505171444.333302-2-dave@treblig.org> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240505171444.333302-1-dave@treblig.org> References: <20240505171444.333302-1-dave@treblig.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1098:5b::1; envelope-from=dave@treblig.org; helo=mx.treblig.org 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, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Since 'setup_rt_frame' has never been implemented, this struct is unused. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Richard Henderson --- linux-user/cris/signal.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/linux-user/cris/signal.c b/linux-user/cris/signal.c index 4f532b2903..10948bcf30 100644 --- a/linux-user/cris/signal.c +++ b/linux-user/cris/signal.c @@ -35,14 +35,6 @@ struct target_signal_frame { uint16_t retcode[4]; /* Trampoline code. */ }; -struct rt_signal_frame { - siginfo_t *pinfo; - void *puc; - siginfo_t info; - ucontext_t uc; - uint16_t retcode[4]; /* Trampoline code. */ -}; - static void setup_sigcontext(struct target_sigcontext *sc, CPUCRISState *env) { __put_user(env->regs[0], &sc->regs.r0); From patchwork Sun May 5 17:14:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13654597 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 117C6C4345F for ; Sun, 5 May 2024 17:16:51 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fS3-0001l3-55; Sun, 05 May 2024 13:15:03 -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 1s3fS0-0001it-Bv for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:00 -0400 Received: from mx.treblig.org ([2a00:1098:5b::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3fRx-0005i9-LH for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=NP0N3GXAxQ0oT/3vkVD47WATl6JL6lrtKMJPsb0DHs8=; b=ofZ3umL4gd4IAENk GkB3Mh+ZihtJ5GdEqDpNUs44XX9GC3tTW94WwnaH99eQ9+X4v6E9qLRRZdmq0G/fq7URJ8QqcYAmJ mmZH07M9x8qZ48IlKy+g8cK782tV8Y1T9twZV+8EsldADKjPgmzqYNrFVWjqqkSAR0B9cvIXZ0I5M GEKmWdf4ewLpSXY5eIHe+devaga/ex4vZgz6J3FpiDfbQWXS7C5NumsEXJExdO9Q4y8CuUosq6/1w SOREVJEJj0+s1/UFngrG52G4Jo8ztPSlQXP/kfFOksgRpp3gfvcHf5JVjpfJZhN7XvG3Dg79nHHxd 98sKqnzX/kgYdV6XIA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3fRv-004nca-3D; Sun, 05 May 2024 17:14:56 +0000 From: "Dr. David Alan Gilbert" To: peter.maydell@linaro.org, laurent@vivier.eu Cc: qemu-devel@nongnu.org, "Dr. David Alan Gilbert" Subject: [PATCH 2/7] linux-user: i386/signal: Remove unused fp structs Date: Sun, 5 May 2024 18:14:39 +0100 Message-ID: <20240505171444.333302-3-dave@treblig.org> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240505171444.333302-1-dave@treblig.org> References: <20240505171444.333302-1-dave@treblig.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1098:5b::1; envelope-from=dave@treblig.org; helo=mx.treblig.org 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, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org The structs 'target_fpxreg' and 'target_xmmreg' are unused since Paolo's: Commit 2796f290b546 ("linux-user: i386/signal: support FXSAVE fpstate on 32-bit emulation") Signed-off-by: Dr. David Alan Gilbert --- linux-user/i386/signal.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/linux-user/i386/signal.c b/linux-user/i386/signal.c index 990048f42a..9bf602b388 100644 --- a/linux-user/i386/signal.c +++ b/linux-user/i386/signal.c @@ -34,16 +34,6 @@ struct target_fpreg { uint16_t exponent; }; -struct target_fpxreg { - uint16_t significand[4]; - uint16_t exponent; - uint16_t padding[3]; -}; - -struct target_xmmreg { - uint32_t element[4]; -}; - struct target_fpx_sw_bytes { uint32_t magic1; uint32_t extended_size; From patchwork Sun May 5 17:14:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13654595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DD8CC4345F for ; Sun, 5 May 2024 17:16:33 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fS3-0001kr-5P; Sun, 05 May 2024 13:15:03 -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 1s3fS1-0001jW-5J for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:01 -0400 Received: from mx.treblig.org ([2a00:1098:5b::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3fRz-0005iL-ND for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=6Hyxc6NsbvquaujV8/AXCDaGepCJvLT6ei8fyjF4/nE=; b=OD48jMksWpwm1NDk Oop1yNMQF2iIL+ovEdBVaVDFlu+v5h9OjSHj85fBXGBy99iCKFuI/czUlfMpS4UIiykhy7gqtZOhQ iWUtb/g67AHf87laQEsALvSkKWINd2tzqXGmZWVmFG1m4CbQLdZYKmqaimOb7Bt9dVfTOf2vBlW0u fUB9kgMQf+nPLzp0rwj/H+Y5mzP9UTS47c3L/tBy8mfjE2S9LdJ3c4MXNfIvYyjxlXxFMfFus2+sV 9wPdtC+7516Za9QpQf6aaTTWmLaa+zOHUqOCDj03755olCOObyCIdgw9gzHNqR1XOKg5OTeFOv6Jr gCb/E1Mq9NRoZPkpXA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3fRw-004nca-2q; Sun, 05 May 2024 17:14:56 +0000 From: "Dr. David Alan Gilbert" To: peter.maydell@linaro.org, laurent@vivier.eu Cc: qemu-devel@nongnu.org, "Dr. David Alan Gilbert" Subject: [PATCH 3/7] linux-user: sparc: Remove unused struct 'target_mc_fq' Date: Sun, 5 May 2024 18:14:40 +0100 Message-ID: <20240505171444.333302-4-dave@treblig.org> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240505171444.333302-1-dave@treblig.org> References: <20240505171444.333302-1-dave@treblig.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1098:5b::1; envelope-from=dave@treblig.org; helo=mx.treblig.org 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, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This struct is unused since Peter's Commit b8ae597f0e6d ("linux-user/sparc: Fix errors in target_ucontext structures") However, hmm, I'm a bit confused since that commit modifies the structure and then removes it, was that intentional? Signed-off-by: Dr. David Alan Gilbert --- linux-user/sparc/signal.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/linux-user/sparc/signal.c b/linux-user/sparc/signal.c index f164b74032..8181b8b92c 100644 --- a/linux-user/sparc/signal.c +++ b/linux-user/sparc/signal.c @@ -546,11 +546,6 @@ void setup_sigtramp(abi_ulong sigtramp_page) typedef abi_ulong target_mc_greg_t; typedef target_mc_greg_t target_mc_gregset_t[SPARC_MC_NGREG]; -struct target_mc_fq { - abi_ulong mcfq_addr; - uint32_t mcfq_insn; -}; - /* * Note the manual 16-alignment; the kernel gets this because it * includes a "long double qregs[16]" in the mcpu_fregs union, From patchwork Sun May 5 17:14:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13654592 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D30C3C25B5C for ; Sun, 5 May 2024 17:16:13 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fS4-0001mI-55; Sun, 05 May 2024 13:15:04 -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 1s3fS1-0001kS-RC for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:01 -0400 Received: from mx.treblig.org ([2a00:1098:5b::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3fS0-0005iP-EM for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=dvBQsdhoKWzcCD+yDUk815AXmrrJkhfKRJl8yZEaMZc=; b=PygIKR8bGoCBF9ll gwWtdJk59KMllGgjEuxzSDdNgS0xI4SV32eSt1I4V2ALtjMivxV43r8zSliVQIukqlg96v0oGddim acZ/jStzb8vJ54irbJ3R1pqUmTN8Mp7c3i+qz2xKL17KwEQbBkCfeIzj+QAOuKmM4/Jv01PLYoCYV oEIXqORX4I3yCMRJ6Dvcizui56oI7iWLLi61osu0qWotZpRgLZZIPE3UEOU44gSkYEvZKF+w4WwbF FvektniCbGbDh1sGABeyqqU+2dDKOi6z35PLptjX3EYbVZ2aBg7OQtsS+Fby87NfU2e5yTSpWgvYl mFN4xIBabBmVQyO6/w==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3fRx-004nca-1t; Sun, 05 May 2024 17:14:57 +0000 From: "Dr. David Alan Gilbert" To: peter.maydell@linaro.org, laurent@vivier.eu Cc: qemu-devel@nongnu.org, "Dr. David Alan Gilbert" Subject: [PATCH 4/7] hw/usb/dev-network: Remove unused struct 'rndis_config_parameter' Date: Sun, 5 May 2024 18:14:41 +0100 Message-ID: <20240505171444.333302-5-dave@treblig.org> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240505171444.333302-1-dave@treblig.org> References: <20240505171444.333302-1-dave@treblig.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1098:5b::1; envelope-from=dave@treblig.org; helo=mx.treblig.org 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, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org As far as I can tell it was never used. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Philippe Mathieu-Daudé --- hw/usb/dev-network.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/usb/dev-network.c b/hw/usb/dev-network.c index 2c33e36cad..d00d68b21d 100644 --- a/hw/usb/dev-network.c +++ b/hw/usb/dev-network.c @@ -475,14 +475,6 @@ struct rndis_packet_msg_type { le32 Reserved; }; -struct rndis_config_parameter { - le32 ParameterNameOffset; - le32 ParameterNameLength; - le32 ParameterType; - le32 ParameterValueOffset; - le32 ParameterValueLength; -}; - /* implementation specific */ enum rndis_state { From patchwork Sun May 5 17:14:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13654596 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9A74FC4345F for ; Sun, 5 May 2024 17:16:46 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fST-0001v0-Ah; Sun, 05 May 2024 13:15:29 -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 1s3fSG-0001qT-0J for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:23 -0400 Received: from mx.treblig.org ([2a00:1098:5b::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3fS1-0005ic-4H for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=dFPS7Oal1lrCOrfCkqIetV7yrx9zbnK4KyW+11VM5yo=; b=DNjckBOtkSMt/zKD ZxPSd/o84tiJQo5KRC1JXJAinWzHsHCOAjStttbGwfCcIk41C+XOhE2oEogKk77CRbXCBjM2pSbsH EmFq45dy++D73W5z1SATSja0p6poOPrQjT0l6UweJ7DrU7SWTFj66IZIRG0CnzVnVMyrJF59PXHNq s9YNqEaDBSI25Eb4EN8cvOisl3BPrgzEJyWkgKDuJo2b9sLwv4JBUqJR8EWv9mHr8jNAcZ+IcBXdy J/UuXkvRWdESjKJEmPbm5tF00QJ++0+DzUrBfYisZ2kJRghp6JHuG337d8NS/b3ARruNns7HUD0zc yRqptzLH8KcT+IsBVA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3fRy-004nca-0t; Sun, 05 May 2024 17:14:58 +0000 From: "Dr. David Alan Gilbert" To: peter.maydell@linaro.org, laurent@vivier.eu Cc: qemu-devel@nongnu.org, "Dr. David Alan Gilbert" Subject: [PATCH 5/7] hw/arm/bcm2836: Remove unusued struct 'BCM283XClass' Date: Sun, 5 May 2024 18:14:42 +0100 Message-ID: <20240505171444.333302-6-dave@treblig.org> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240505171444.333302-1-dave@treblig.org> References: <20240505171444.333302-1-dave@treblig.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1098:5b::1; envelope-from=dave@treblig.org; helo=mx.treblig.org 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, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This struct has been unused since Commit f932093ae165 ("hw/arm/bcm2836: Split out common part of BCM283X classes") Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Philippe Mathieu-Daudé --- hw/arm/bcm2836.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c index db191661f2..40a379bc36 100644 --- a/hw/arm/bcm2836.c +++ b/hw/arm/bcm2836.c @@ -18,18 +18,6 @@ #include "target/arm/cpu-qom.h" #include "target/arm/gtimer.h" -struct BCM283XClass { - /*< private >*/ - DeviceClass parent_class; - /*< public >*/ - const char *name; - const char *cpu_type; - unsigned core_count; - hwaddr peri_base; /* Peripheral base address seen by the CPU */ - hwaddr ctrl_base; /* Interrupt controller and mailboxes etc. */ - int clusterid; -}; - static Property bcm2836_enabled_cores_property = DEFINE_PROP_UINT32("enabled-cpus", BCM283XBaseState, enabled_cpus, 0); From patchwork Sun May 5 17:14:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13654598 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 851A8C4345F for ; Sun, 5 May 2024 17:16:59 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fS5-0001mf-8F; Sun, 05 May 2024 13:15:05 -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 1s3fS3-0001lm-Mu for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:03 -0400 Received: from mx.treblig.org ([2a00:1098:5b::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3fS2-0005ir-7f for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=6VcNWgHQlHoShRzZIx36jlPM5YOe1vzWmwbKSfnn+dc=; b=L4t5UBx5HLLbWed4 VAa+J3vSIQqJSDLxPcmXdpH0IyFkyABEwLb/30+AypW1rfrogTcLO6+oB0zdclSCJJGJcN2EKSCVp ZQy4XO45F1KX6sPXCG7t3A4GwqW1fD81LTWuCHysWdqiMB06IZv33BpBzGS9qqhfepbBfAO3pChC4 E/7cvLQZOWgk+j8RX1oRrkgtr8a8Av5u50LnYmPxuSSZh4m3hQDlNa36uOyBcjYITsC0Az2Lzk4UF KTd0HFybYUlIaBMSu6i3qUqR7HYl77fQNy5bl8XfCxeXfMrTMZQC8kF/uibCpLesWQggOuKXfRrZU Z4aUYRl72Pku4Jc2bw==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3fRz-004nca-0E; Sun, 05 May 2024 17:14:59 +0000 From: "Dr. David Alan Gilbert" To: peter.maydell@linaro.org, laurent@vivier.eu Cc: qemu-devel@nongnu.org, "Dr. David Alan Gilbert" Subject: [PATCH 6/7] target/ppc: Remove unused struct 'mmu_ctx_hash32' Date: Sun, 5 May 2024 18:14:43 +0100 Message-ID: <20240505171444.333302-7-dave@treblig.org> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240505171444.333302-1-dave@treblig.org> References: <20240505171444.333302-1-dave@treblig.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1098:5b::1; envelope-from=dave@treblig.org; helo=mx.treblig.org 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, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org I think it's use was removed by Commit 5883d8b296 ("mmu-hash*: Don't use full ppc_hash{32, 64}_translate() path for get_phys_page_debug()") Signed-off-by: Dr. David Alan Gilbert Reviewed-by: BALATON Zoltan --- target/ppc/mmu-hash32.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/target/ppc/mmu-hash32.c b/target/ppc/mmu-hash32.c index 3976416840..746321329c 100644 --- a/target/ppc/mmu-hash32.c +++ b/target/ppc/mmu-hash32.c @@ -36,12 +36,6 @@ # define LOG_BATS(...) do { } while (0) #endif -struct mmu_ctx_hash32 { - hwaddr raddr; /* Real address */ - int prot; /* Protection bits */ - int key; /* Access key */ -}; - static int ppc_hash32_pp_prot(int key, int pp, int nx) { int prot; From patchwork Sun May 5 17:14:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13654591 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7ACC6C4345F for ; Sun, 5 May 2024 17:15:57 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fS5-0001nd-TJ; Sun, 05 May 2024 13:15:05 -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 1s3fS4-0001mN-8r for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:04 -0400 Received: from mx.treblig.org ([2a00:1098:5b::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3fS2-0005j2-NN for qemu-devel@nongnu.org; Sun, 05 May 2024 13:15:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=y1pCsRYGvDr35bTdn+QJCzGL0DPnvrEX9HngvWUCCiY=; b=CLldyQ/GepXz30TX murXN/Jw/Mv89fwyq/EomrecGaLftEpIhLn5nfMwiqgpXRX5h2TEnr+ZB2Q+GLetUWyuzRv3xNAlM DSDtA3bBtrZLoHXs0bEPIAXTms8bOeDcFwtIbRyOEqvaFH4HtPn5sbRnELzoNlUIMADgiCNdb2emN o1TSDQrU5qGiFVL8Y4fxEJtOqENuGcEw6wpAnCojuCkCqti4zrzcvfYd2OL33OycwjUJOSdrpo3CW zr4bM4fk/pSo2uo3pGXTE8f9fKaxa2SBV6M+9mHsz09mRvmVTP1a7q6duX/wInjVPkUw61a+jE9rO l9kpYFRZiFK+pJaTNQ==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3fRz-004nca-2d; Sun, 05 May 2024 17:14:59 +0000 From: "Dr. David Alan Gilbert" To: peter.maydell@linaro.org, laurent@vivier.eu Cc: qemu-devel@nongnu.org, "Dr. David Alan Gilbert" Subject: [PATCH 7/7] net/can: Remove unused struct 'CanBusState' Date: Sun, 5 May 2024 18:14:44 +0100 Message-ID: <20240505171444.333302-8-dave@treblig.org> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240505171444.333302-1-dave@treblig.org> References: <20240505171444.333302-1-dave@treblig.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1098:5b::1; envelope-from=dave@treblig.org; helo=mx.treblig.org 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, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org As far as I can tell this struct has never been used in this file (it is used in can_core.c). Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Philippe Mathieu-Daudé --- net/can/can_host.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/net/can/can_host.c b/net/can/can_host.c index a3c84028c6..b2fe553f91 100644 --- a/net/can/can_host.c +++ b/net/can/can_host.c @@ -34,12 +34,6 @@ #include "net/can_emu.h" #include "net/can_host.h" -struct CanBusState { - Object object; - - QTAILQ_HEAD(, CanBusClientState) clients; -}; - static void can_host_disconnect(CanHostState *ch) { CanHostClass *chc = CAN_HOST_GET_CLASS(ch);