[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>
This commit is contained in:
Takashi Iwai 2006-03-27 13:45:51 +02:00 committed by Jaroslav Kysela
parent 10d150e186
commit 43560116d1

View file

@ -1838,10 +1838,7 @@ static int snd_riptide_free(struct snd_riptide *chip)
}
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);