summaryrefslogtreecommitdiffstats
path: root/hw/audio/fmopl.c
diff options
context:
space:
mode:
authorJuan Quintela2017-04-26 00:37:35 +0200
committerGerd Hoffmann2017-05-04 09:16:05 +0200
commite14e09c945fbca5dd0a01f689c70538d827734fb (patch)
tree802df1bfc1ce3ba5eaa97ed828f518152a8f6d43 /hw/audio/fmopl.c
parentaudio: OPLSetUpdateHandler is not used anywhere (diff)
downloadqemu-e14e09c945fbca5dd0a01f689c70538d827734fb.tar.gz
qemu-e14e09c945fbca5dd0a01f689c70538d827734fb.tar.xz
qemu-e14e09c945fbca5dd0a01f689c70538d827734fb.zip
audio: IRQHandler is not used anymore
Signed-off-by: Juan Quintela <quintela@redhat.com> Message-id: 20170425223739.6703-23-quintela@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/fmopl.c')
-rw-r--r--hw/audio/fmopl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index 694a77b229..5b8a884a59 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -260,8 +260,6 @@ static inline void OPL_STATUS_SET(FM_OPL *OPL,int flag)
if(OPL->status & OPL->statusmask)
{ /* IRQ on */
OPL->status |= 0x80;
- /* callback user interrupt handler (IRQ is OFF to ON) */
- if(OPL->IRQHandler) (OPL->IRQHandler)(OPL->IRQParam,1);
}
}
}
@@ -276,8 +274,6 @@ static inline void OPL_STATUS_RESET(FM_OPL *OPL,int flag)
if (!(OPL->status & OPL->statusmask) )
{
OPL->status &= 0x7f;
- /* callback user interrupt handler (IRQ is ON to OFF) */
- if(OPL->IRQHandler) (OPL->IRQHandler)(OPL->IRQParam,0);
}
}
}