diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-16 10:41:16 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-23 08:36:50 +0200 |
commit | f0c4555edfdd2088aab04b5779912d52b6b90454 (patch) | |
tree | ee73310bd8e424e4cbcd37beb0df51510b1b0af7 /audio/spiceaudio.c | |
parent | a8a98cfd42f70ac1b725ee25e23154291228b330 (diff) |
audio: remove qemu_spice_audio_init()
Handle the spice special case in audio_init instead.
With the qemu_spice_audio_init() symbol dependency being
gone we can build spiceaudio as module.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200916084117.21828-2-kraxel@redhat.com
Diffstat (limited to 'audio/spiceaudio.c')
-rw-r--r-- | audio/spiceaudio.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/audio/spiceaudio.c b/audio/spiceaudio.c index c062742622..ed6dff1dcc 100644 --- a/audio/spiceaudio.c +++ b/audio/spiceaudio.c @@ -311,11 +311,6 @@ static struct audio_driver spice_audio_driver = { .voice_size_in = sizeof (SpiceVoiceIn), }; -void qemu_spice_audio_init (void) -{ - spice_audio_driver.can_be_default = 1; -} - static void register_audio_spice(void) { audio_driver_register(&spice_audio_driver); |