[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-commits
Subject:    [Qemu-commits] [COMMIT 3cb5a22] ETRAX: Removed unused struct entry and fixed Windowsbuild.
From:       Anthony Liguori <aliguori () us ! ibm ! com>
Date:       2009-05-23 19:58:26
Message-ID: 200905231957.n4NJvQrI002400 () d03av01 ! boulder ! ibm ! com
[Download RAW message or body]

From: Stefan Weil <weil@mail.berlios.de>

"struct timeval last" caused a compilation error with mingw32
(missing header for struct timeval).

It is unused, so it was possible to remove it.

Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>

diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c
index 793c5eb..79eceb8 100644
--- a/hw/etraxfs_timer.c
+++ b/hw/etraxfs_timer.c
@@ -52,7 +52,6 @@ struct etrax_timer {
     ptimer_state *ptimer_t0;
     ptimer_state *ptimer_t1;
     ptimer_state *ptimer_wd;
-    struct timeval last;
 
     int wd_hits;
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic