aboutsummaryrefslogtreecommitdiff
path: root/hw/etraxfs_eth.c
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:05:21 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:05:21 +0000
commit9bcd77d6b1815db0716b56a605806ba2d2101656 (patch)
tree9445e9a8f008536fb4bc1a61c33c4f8d4cd54b6f /hw/etraxfs_eth.c
parent5439779e84e352f20ee2d3e26daec81292f1b59a (diff)
ETRAX: Avoid compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4593 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/etraxfs_eth.c')
-rw-r--r--hw/etraxfs_eth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/etraxfs_eth.c b/hw/etraxfs_eth.c
index 7bdd0196ac..3d7ca0f62a 100644
--- a/hw/etraxfs_eth.c
+++ b/hw/etraxfs_eth.c
@@ -391,7 +391,6 @@ static void
eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
{
struct fs_eth *eth = opaque;
- CPUState *env = eth->env;
/* Make addr relative to this instances base. */
addr -= eth->base;
@@ -425,8 +424,8 @@ eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
default:
eth->regs[addr] = value;
- printf ("%s %x %x pc=%x\n",
- __func__, addr, value, env->pc);
+ D(printf ("%s %x %x\n",
+ __func__, addr, value));
break;
}
}