diff options
Diffstat (limited to 'drivers/sound/uart401.c')
-rw-r--r-- | drivers/sound/uart401.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sound/uart401.c b/drivers/sound/uart401.c index 22e4fe8f9..63bfd9211 100644 --- a/drivers/sound/uart401.c +++ b/drivers/sound/uart401.c @@ -452,8 +452,7 @@ unload_uart401(struct address_info *hw_config) if (!devc->share_irq) snd_release_irq(devc->irq); - /* Free device too !! - AC FIXME: CHECK THIS IS RIGHT */ - if (devc) + if (!devc) vfree(devc); sound_unload_mididev(hw_config->slots[4]); } |