From patchwork Fri May 28 19:00:45 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 53955 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 17231B7D1F for ; Sat, 29 May 2010 05:02:51 +1000 (EST) Received: from localhost ([127.0.0.1]:59026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OI4pT-0003cu-6V for incoming@patchwork.ozlabs.org; Fri, 28 May 2010 15:02:47 -0400 Received: from [140.186.70.92] (port=56273 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OI4nb-00036h-0N for qemu-devel@nongnu.org; Fri, 28 May 2010 15:00:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OI4nY-00040f-GW for qemu-devel@nongnu.org; Fri, 28 May 2010 15:00:50 -0400 Received: from smtp21.orange.fr ([80.12.242.48]:59662) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OI4nY-00040M-Bs for qemu-devel@nongnu.org; Fri, 28 May 2010 15:00:48 -0400 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2114.orange.fr (SMTP Server) with ESMTP id 9726D1C00204 for ; Fri, 28 May 2010 21:00:46 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2114.orange.fr (SMTP Server) with ESMTP id 884C11C00413 for ; Fri, 28 May 2010 21:00:46 +0200 (CEST) Received: from tmonjalo-laptop (LPuteaux-156-15-47-90.w82-127.abo.wanadoo.fr [82.127.74.90]) by mwinf2114.orange.fr (SMTP Server) with ESMTP id 9082A1C00204 for ; Fri, 28 May 2010 21:00:45 +0200 (CEST) X-ME-UUID: 20100528190045592.9082A1C00204@mwinf2114.orange.fr From: Thomas Monjalon To: qemu-devel@nongnu.org Date: Fri, 28 May 2010 21:00:45 +0200 Message-Id: <1275073245-20352-1-git-send-email-thomas_ml@monjalon.net> X-Mailer: git-send-email 1.7.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH] target-ppc: remove useless line X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Thomas Monjalon This line was a bit clear. The next lines set or reset this bit (LE) depending of another bit (ILE). So the first line is useless. Signed-off-by: Thomas Monjalon Reviewed-by: Andreas Faerber --- target-ppc/helper.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 3d843b5..dabf1fd 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -2591,7 +2591,6 @@ static inline void powerpc_excp(CPUState *env, int excp_model, int excp) #if 0 /* Fix this: not on all targets */ new_msr &= ~((target_ulong)1 << MSR_PMM); #endif - new_msr &= ~((target_ulong)1 << MSR_LE); if (msr_ile) new_msr |= (target_ulong)1 << MSR_LE; else