summary refs log tree commit diff stats
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2012-11-19 22:22:24 +0400
committermalc <av1474@comtv.ru>2012-11-19 22:22:24 +0400
commitecdffbccd783cd79eb3ce206375270de54046ea0 (patch)
treed3e12e74863c92d5ce2a72cd4cd6cf5f9c3806eb
parenta36e9561283e91a17cbc451835b99db35424c34b (diff)
downloadfocaccia-qemu-ecdffbccd783cd79eb3ce206375270de54046ea0.tar.gz
focaccia-qemu-ecdffbccd783cd79eb3ce206375270de54046ea0.zip
tcg/ppc: Remove unused s_bits variable
Thanks to Alexander Graf for heads up.

Signed-off-by: malc <av1474@comtv.ru>
-rw-r--r--tcg/ppc/tcg-target.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index 34a0693c58..a42a04a62a 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -901,7 +901,6 @@ static void tcg_out_qemu_ld_slow_path (TCGContext *s, TCGLabelQemuLdst *label)
 
 static void tcg_out_qemu_st_slow_path (TCGContext *s, TCGLabelQemuLdst *label)
 {
-    int s_bits;
     int ir;
     int opc = label->opc;
     int mem_index = label->mem_index;
@@ -911,8 +910,6 @@ static void tcg_out_qemu_st_slow_path (TCGContext *s, TCGLabelQemuLdst *label)
     uint8_t *raddr = label->raddr;
     uint8_t **label_ptr = &label->label_ptr[0];
 
-    s_bits = opc & 3;
-
     /* resolve label address */
     reloc_pc14 (label_ptr[0], (tcg_target_long) s->code_ptr);