diff options
author | Thomas Huth <thuth@redhat.com> | 2017-06-09 08:53:17 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-06-30 14:03:31 +1000 |
commit | 6d034b7bf8d1c20f193b00fd6434adf399d701da (patch) | |
tree | 7a11cc75de5fec290db98263e540f3b5779e2c34 /COPYING | |
parent | c5eb5846d2d207bbde7f4b665d9ff90b92c8adff (diff) | |
download | qemu-6d034b7bf8d1c20f193b00fd6434adf399d701da.zip qemu-6d034b7bf8d1c20f193b00fd6434adf399d701da.tar.gz qemu-6d034b7bf8d1c20f193b00fd6434adf399d701da.tar.bz2 |
hw/ppc/prep: Remove superfluous call to soundhw_init()
When using the 40p machine, soundhw_init() is currently called twice,
one time from vl.c and one time from ibm_40p_init(). The call in
ibm_40p_init() was likely just a copy-and-paste from a old version
of the prep machine - but there the call to audio_init() (which was
the previous name of this function) has been removed many years ago
already, with commit b3e6d591b05538056d665572f3e3bbfb3cbb70e7
("audio: enable PCI audio cards for all PCI-enabled targets"), so
we certainly also do not need the soundhw_init() in the 40p function
anymore nowadays.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Sahid Ferdjaoui <sferdjao@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions