aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/adlib.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-26 00:37:26 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-05-04 09:16:04 +0200
commit8f7e2c2cb731765cde6521ae252d55f4d8a9a85f (patch)
treecc9714efbe5ecb48d3c35c852edb26d693c1589c /hw/audio/adlib.c
parent7852b53acc951cc311cacd87d15198ef18d519e8 (diff)
downloadqemu-8f7e2c2cb731765cde6521ae252d55f4d8a9a85f.zip
qemu-8f7e2c2cb731765cde6521ae252d55f4d8a9a85f.tar.gz
qemu-8f7e2c2cb731765cde6521ae252d55f4d8a9a85f.tar.bz2
audio: Remove type field
It was not used anymore as now there is only one type of devices. Signed-off-by: Juan Quintela <quintela@redhat.com> Message-id: 20170425223739.6703-14-quintela@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/adlib.c')
-rw-r--r--hw/audio/adlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/adlib.c b/hw/audio/adlib.c
index f9adcd7..09b8248 100644
--- a/hw/audio/adlib.c
+++ b/hw/audio/adlib.c
@@ -265,7 +265,7 @@ static void adlib_realizefn (DeviceState *dev, Error **errp)
}
glob_adlib = s;
- s->opl = OPLCreate (OPL_TYPE_YM3812, 3579545, s->freq);
+ s->opl = OPLCreate (3579545, s->freq);
if (!s->opl) {
error_setg (errp, "OPLCreate %d failed", s->freq);
return;