Patchwork [07/10] alpha/translate: remve unused variables

login
register
mail settings
Submitter Michael S. Tsirkin
Date June 14, 2011, 5:36 p.m.
Message ID <074833361d425c806a62d185c7be6b06bec2069e.1308072799.git.mst@redhat.com>
Download mbox | patch
Permalink /patch/100456/
State New
Headers show

Comments

Michael S. Tsirkin - June 14, 2011, 5:36 p.m.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 target-alpha/translate.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
Richard Henderson - June 14, 2011, 5:47 p.m.
On 06/14/2011 10:36 AM, Michael S. Tsirkin wrote:
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  target-alpha/translate.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)

Acked-by: Richard Henderson  <rth@twiddle.net>


r~

Patch

diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index ad6c2ca..5d7454c 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -1663,7 +1663,7 @@  static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
     uint32_t palcode;
     int32_t disp21, disp16, disp12;
     uint16_t fn11;
-    uint8_t opc, ra, rb, rc, fpfn, fn7, fn2, islit, real_islit;
+    uint8_t opc, ra, rb, rc, fpfn, fn7, islit, real_islit;
     uint8_t lit;
     ExitStatus ret;
 
@@ -1685,7 +1685,6 @@  static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
     fn11 = (insn >> 5) & 0x000007FF;
     fpfn = fn11 & 0x3F;
     fn7 = (insn >> 5) & 0x0000007F;
-    fn2 = (insn >> 5) & 0x00000003;
     LOG_DISAS("opc %02x ra %2d rb %2d rc %2d disp16 %6d\n",
               opc, ra, rb, rc, disp16);