All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [4593] ETRAX: Avoid compiler warning.
@ 2008-05-27 21:05 Edgar E. Iglesias
  0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-05-27 21:05 UTC (permalink / raw)
  To: qemu-devel

Revision: 4593
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4593
Author:   edgar_igl
Date:     2008-05-27 21:05:21 +0000 (Tue, 27 May 2008)

Log Message:
-----------
ETRAX: Avoid compiler warning.

Modified Paths:
--------------
    trunk/hw/etraxfs_eth.c

Modified: trunk/hw/etraxfs_eth.c
===================================================================
--- trunk/hw/etraxfs_eth.c	2008-05-27 21:04:41 UTC (rev 4592)
+++ trunk/hw/etraxfs_eth.c	2008-05-27 21:05:21 UTC (rev 4593)
@@ -391,7 +391,6 @@
 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 @@
 
 		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;
 	}
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-27 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-27 21:05 [Qemu-devel] [4593] ETRAX: Avoid compiler warning Edgar E. Iglesias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.