From patchwork Wed Jan 27 13:54:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 43802 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 9CF5AB7DF6 for ; Thu, 28 Jan 2010 00:58:18 +1100 (EST) Received: from localhost ([127.0.0.1]:51447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Na8Nl-0000ju-Qy for incoming@patchwork.ozlabs.org; Wed, 27 Jan 2010 08:56:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Na8MP-0000hv-IO for qemu-devel@nongnu.org; Wed, 27 Jan 2010 08:55:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Na8MK-0000dq-SH for qemu-devel@nongnu.org; Wed, 27 Jan 2010 08:55:08 -0500 Received: from [199.232.76.173] (port=46709 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Na8MK-0000df-O2 for qemu-devel@nongnu.org; Wed, 27 Jan 2010 08:55:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:8648) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Na8MJ-0004c0-Rm for qemu-devel@nongnu.org; Wed, 27 Jan 2010 08:55:04 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0RDt2KU008717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Jan 2010 08:55:02 -0500 Received: from localhost.localdomain (vpn1-4-227.ams2.redhat.com [10.36.4.227]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0RDt0CH014994 for ; Wed, 27 Jan 2010 08:55:02 -0500 From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 27 Jan 2010 14:54:54 +0100 Message-Id: <1264600499-3384-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1264600499-3384-1-git-send-email-pbonzini@redhat.com> References: <1264600499-3384-1-git-send-email-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 1/6] remove two dead assignments in target-i386/translate.c 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 Signed-off-by: Paolo Bonzini --- target-i386/translate.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/target-i386/translate.c b/target-i386/translate.c index 8078112..a597e80 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -4692,8 +4692,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) ot = dflag + OT_WORD; modrm = ldub_code(s->pc++); - mod = (modrm >> 6) & 3; - rm = (modrm & 7) | REX_B(s); reg = ((modrm >> 3) & 7) | rex_r; gen_ldst_modrm(s, modrm, ot, OR_TMP0, 0);