提交 43560116 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] Remove obsolete kfree_nocheck call

Fixed the compilation, removing obsolete kfree_nocheck() call
for memory debugging.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 10d150e1
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册