mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
[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:
parent
10d150e186
commit
43560116d1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user