From patchwork Thu Oct 22 20:29:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1386417 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu 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 ozlabs.org (Postfix) with ESMTPS id 4CHJv137NZz9sTK for ; Fri, 23 Oct 2020 07:32:11 +1100 (AEDT) Received: from localhost ([::1]:57216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVhFo-000123-47 for incoming@patchwork.ozlabs.org; Thu, 22 Oct 2020 16:32:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVhDt-000101-3g for qemu-devel@nongnu.org; Thu, 22 Oct 2020 16:30:09 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:50307) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVhDr-0001rb-4c for qemu-devel@nongnu.org; Thu, 22 Oct 2020 16:30:08 -0400 Received: from localhost.localdomain ([82.252.139.38]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N64JK-1kKSqB163k-016LIv; Thu, 22 Oct 2020 22:30:03 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PATCH 1/2] target/m68k: remove useless qregs array Date: Thu, 22 Oct 2020 22:29:59 +0200 Message-Id: <20201022203000.1922749-2-laurent@vivier.eu> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201022203000.1922749-1-laurent@vivier.eu> References: <20201022203000.1922749-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:I+dL1+NxbKynMIHzKotWQ9ec/7vUKvbwELbMWgjtV1YIsVTUONl x1YgtCaav4hx4r0kO8GRsz3bNPX3yBVHQt3s66UAie5xEQMnc5WIDBXhRROdHZNDOlgAhx7 e8rBp9Tl7kYnTvTqz1ijyFtl0opX6S/68d98wW5CaBKYUUfMfxD2I7f2th7RJnSGR2+jxj0 vHaSIIaemRZSc5QvApHRA== X-UI-Out-Filterresults: notjunk:1;V03:K0:bHcCzZQc2sE=:+bzvXoJpGNY6YjHTlvRN54 yblw/tO61JzBs61RB9dtjOgoP7sHpaDRhymxRgX/xpqmNMibY3F/lYtjvYWThdO9UqdajtYcv aq/mWe4Sa0XIBWTXVlVZywnV1FEm5h5f70FIxS5OTctWKQ9ft9X9LIaCryffLMJ9EaKE+b02o pULIEoY82u6DqCyYhTFSEdgB9SoXFUULRJglmi3awfn85WjswByKpb/zipW+5hs5jL7qrN24v fy7rDW4Frtwm0UGZjRt89AJGEphXWTQhgES1qQFkHYYMk/RLIE+SNO8dFxmVy8M6JzXj3/xpe /xqboYSg5/H2/f44wZlCSv9GqCg1azmbBH4xrHS5d4Q+GzQMBhhbLnJVi2sgsPzmEJl2bG5D0 aRmZrca08RSdEoqot+jiIV4u9H4u1Zlyu8OojLxQlRTm5V52/8kghkUCUUpZw Received-SPF: none client-ip=217.72.192.74; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/22 16:30:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" They are unused since the target has been converted to TCG. Fixes: e1f3808e03f7 ("Convert m68k target to TCG.") Signed-off-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- target/m68k/cpu.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h index 521ac67cdd04..9a6f0400fcfe 100644 --- a/target/m68k/cpu.h +++ b/target/m68k/cpu.h @@ -33,8 +33,6 @@ #define OS_PACKED 6 #define OS_UNSIZED 7 -#define MAX_QREGS 32 - #define EXCP_ACCESS 2 /* Access (MMU) error. */ #define EXCP_ADDRESS 3 /* Address error. */ #define EXCP_ILLEGAL 4 /* Illegal instruction. */ @@ -139,8 +137,6 @@ typedef struct CPUM68KState { int pending_vector; int pending_level; - uint32_t qregs[MAX_QREGS]; - /* Fields up to this point are cleared by a CPU reset */ struct {} end_reset_fields;