diff options
Diffstat (limited to 'drivers/sound/mad16.c')
-rw-r--r-- | drivers/sound/mad16.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sound/mad16.c b/drivers/sound/mad16.c index 607955d23..489c2c7c0 100644 --- a/drivers/sound/mad16.c +++ b/drivers/sound/mad16.c @@ -834,7 +834,6 @@ int probe_mad16_mpu(struct address_info *hw_config) void unload_mad16(struct address_info *hw_config) { - int mixer = audio_devs[hw_config->slots[0]]->mixer_dev; ad1848_unload(hw_config->io_base + 4, hw_config->irq, hw_config->dma, @@ -849,7 +848,7 @@ unload_mad16_mpu(struct address_info *hw_config) #if defined(CONFIG_MIDI) && defined(CONFIG_MAD16_OLDCARD) if (board_type < C929) /* Early chip. No MPU support. Just SB MIDI */ { - sb_dsp_unload(hw_config); + sb_dsp_unload(hw_config, 0); return; } #endif |