ETRAX: Avoid compiler warning.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4593 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
edgar_igl 2008-05-27 21:05:21 +00:00
parent 5439779e84
commit 9bcd77d6b1
1 changed files with 2 additions and 3 deletions

View File

@ -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;
}
}