[ALSA] Remove obsolete kfree_nocheck call
Fixed the compilation, removing obsolete kfree_nocheck() call
for memory debugging.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c
index 5b3e499..f148ee4 100644
--- a/sound/pci/riptide/riptide.c
+++ b/sound/pci/riptide/riptide.c
@@ -1838,10 +1838,7 @@
}
if (chip->fw_entry)
release_firmware(chip->fw_entry);
- if (chip->res_port) {
- release_resource(chip->res_port);
- kfree_nocheck(chip->res_port);
- }
+ release_and_free_resource(chip->res_port);
if (chip->irq >= 0)
free_irq(chip->irq, chip);
kfree(chip);