提交 9bcd77d6 编写于 作者: E edgar_igl

ETRAX: Avoid compiler warning.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4593 c046a42c-6fe2-441c-8c8c-71466251a162
上级 5439779e
......@@ -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;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册