@samitouri / QOSamiQemu / commits / 3cb1c36ea2

adlib: remove dead code

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>

Marc-André Lureau committed Jan 15, 2026 at 15:50 UTC 3cb1c36ea229abb598b788f267e24644d6c34653
1 file changed -2
hw/audio/adlib.c
-2
@@ -66,7 +66,6 @@ struct AdlibState {
66 int64_t exp[2];
67 #endif
68 int16_t *mixbuf;
69 - uint64_t dexp[2];
69 SWVoiceOut *voice;
70 int left, pos, samples;
71 FM_OPL *opl;
@@ -133,7 +132,6 @@ static void timer_handler (void *opaque, int c, double interval_Sec)
132 s->exp[n] = exp;
133 #endif
134
136 - s->dexp[n] = interval_Sec * 1000000.0;
135 }
136
137 static int write_audio (AdlibState *s, int samples)