Commit 9bcd77d6b1815db0716b56a605806ba2d2101656

Authored by edgar_igl
1 parent 5439779e

ETRAX: Avoid compiler warning.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4593 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 3 deletions
hw/etraxfs_eth.c
... ... @@ -391,7 +391,6 @@ static void
391 391 eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
392 392 {
393 393 struct fs_eth *eth = opaque;
394   - CPUState *env = eth->env;
395 394  
396 395 /* Make addr relative to this instances base. */
397 396 addr -= eth->base;
... ... @@ -425,8 +424,8 @@ eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
425 424  
426 425 default:
427 426 eth->regs[addr] = value;
428   - printf ("%s %x %x pc=%x\n",
429   - __func__, addr, value, env->pc);
  427 + D(printf ("%s %x %x\n",
  428 + __func__, addr, value));
430 429 break;
431 430 }
432 431 }
... ...