aboutsummaryrefslogtreecommitdiff
path: root/hw/etraxfs_eth.c
diff options
context:
space:
mode:
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;
}
}