From patchwork Tue Nov 10 05:08:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 9623 X-Patchwork-Delegate: vapier@gentoo.org Received: (qmail 98747 invoked by alias); 10 Nov 2015 05:08:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 98606 invoked by uid 89); 10 Nov 2015 05:08:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 10 Nov 2015 05:08:20 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 7955A33E2EB for ; Tue, 10 Nov 2015 05:08:18 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: h8300: drop unused littleendian variable Date: Tue, 10 Nov 2015 00:08:16 -0500 Message-Id: <1447132096-31830-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes --- sim/h8300/ChangeLog | 5 +++++ sim/h8300/compile.c | 13 ------------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 78b3b82..ce77765 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,8 @@ +2015-11-09 Mike Frysinger + + * compile.c (littleendian): Delete. + (init_pointers): Delete littleendian usage. + 2015-06-23 Mike Frysinger * configure: Regenerate. diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index d084b5d..f3f794d 100644 --- a/sim/h8300/compile.c +++ b/sim/h8300/compile.c @@ -1750,17 +1750,6 @@ store2 (SIM_DESC sd, ea_type *arg, int n) return store_1 (sd, arg, n, 1); } -static union -{ - short int i; - struct - { - char low; - char high; - } - u; -} littleendian; - /* Flag to be set whenever a new SIM_DESC object is created. */ static int init_pointers_needed = 1; @@ -1771,8 +1760,6 @@ init_pointers (SIM_DESC sd) { int i; - littleendian.i = 1; - if (h8300smode && !h8300_normal_mode) memory_size = H8300S_MSIZE; else if (h8300hmode && !h8300_normal_mode)