From: Juan Quintela Date: Tue, 25 Apr 2017 22:37:34 +0000 (+0200) Subject: audio: OPLSetUpdateHandler is not used anywhere X-Git-Tag: v2.10.0-rc0~214^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ade339896b7b6f660a7765e398b373b9b80a6258;p=thirdparty%2Fqemu.git audio: OPLSetUpdateHandler is not used anywhere Signed-off-by: Juan Quintela Message-id: 20170425223739.6703-22-quintela@redhat.com Signed-off-by: Gerd Hoffmann --- diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c index f91e700bf9e..694a77b2296 100644 --- a/hw/audio/fmopl.c +++ b/hw/audio/fmopl.c @@ -1141,11 +1141,7 @@ void OPLSetTimerHandler(FM_OPL *OPL,OPL_TIMERHANDLER TimerHandler,int channelOff OPL->TimerHandler = TimerHandler; OPL->TimerParam = channelOffset; } -void OPLSetUpdateHandler(FM_OPL *OPL,OPL_UPDATEHANDLER UpdateHandler,int param) -{ - OPL->UpdateHandler = UpdateHandler; - OPL->UpdateParam = param; -} + /* ---------- YM3812 I/O interface ---------- */ int OPLWrite(FM_OPL *OPL,int a,int v) { diff --git a/hw/audio/fmopl.h b/hw/audio/fmopl.h index 375f971b4db..446de08d158 100644 --- a/hw/audio/fmopl.h +++ b/hw/audio/fmopl.h @@ -102,7 +102,6 @@ typedef struct fm_opl_f { FM_OPL *OPLCreate(int clock, int rate); void OPLDestroy(FM_OPL *OPL); void OPLSetTimerHandler(FM_OPL *OPL,OPL_TIMERHANDLER TimerHandler,int channelOffset); -void OPLSetUpdateHandler(FM_OPL *OPL,OPL_UPDATEHANDLER UpdateHandler,int param); void OPLResetChip(FM_OPL *OPL); int OPLWrite(FM_OPL *OPL,int a,int v);