[PULL v2 02/85] adlib: remove dead code

marcandre.lureau@redhat.com posted 85 patches 1 month, 2 weeks ago
There is a newer version of this series
[PULL v2 02/85] adlib: remove dead code
Posted by marcandre.lureau@redhat.com 1 month, 2 weeks ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Previous commit drop the need for this field.

Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 hw/audio/adlib.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hw/audio/adlib.c b/hw/audio/adlib.c
index efab5107a4c..f79654627f5 100644
--- a/hw/audio/adlib.c
+++ b/hw/audio/adlib.c
@@ -66,7 +66,6 @@ struct AdlibState {
     int64_t exp[2];
 #endif
     int16_t *mixbuf;
-    uint64_t dexp[2];
     SWVoiceOut *voice;
     int left, pos, samples;
     FM_OPL *opl;
@@ -133,7 +132,6 @@ static void timer_handler (void *opaque, int c, double interval_Sec)
     s->exp[n] = exp;
 #endif
 
-    s->dexp[n] = interval_Sec * 1000000.0;
 }
 
 static int write_audio (AdlibState *s, int samples)
-- 
2.53.0