Commit 43560116 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] Remove obsolete kfree_nocheck call

Fixed the compilation, removing obsolete kfree_nocheck() call
for memory debugging.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 10d150e1
...@@ -1838,10 +1838,7 @@ static int snd_riptide_free(struct snd_riptide *chip) ...@@ -1838,10 +1838,7 @@ static int snd_riptide_free(struct snd_riptide *chip)
} }
if (chip->fw_entry) if (chip->fw_entry)
release_firmware(chip->fw_entry); release_firmware(chip->fw_entry);
if (chip->res_port) { release_and_free_resource(chip->res_port);
release_resource(chip->res_port);
kfree_nocheck(chip->res_port);
}
if (chip->irq >= 0) if (chip->irq >= 0)
free_irq(chip->irq, chip); free_irq(chip->irq, chip);
kfree(chip); kfree(chip);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment