[ALSA] echoaudio - Remove kfree_nocheck()
Remove obsoleted kfree_nochec() (for debug). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
parent
ccb99eee9c
commit
8caf7aa26e
@ -1878,10 +1878,9 @@ static int snd_echo_free(struct echoaudio *chip)
|
|||||||
if (chip->dsp_registers)
|
if (chip->dsp_registers)
|
||||||
iounmap(chip->dsp_registers);
|
iounmap(chip->dsp_registers);
|
||||||
|
|
||||||
if (chip->iores) {
|
if (chip->iores)
|
||||||
release_resource(chip->iores);
|
release_and_free_resource(chip->iores);
|
||||||
kfree_nocheck(chip->iores);
|
|
||||||
}
|
|
||||||
DE_INIT(("MMIO freed.\n"));
|
DE_INIT(("MMIO freed.\n"));
|
||||||
|
|
||||||
pci_disable_device(chip->pci);
|
pci_disable_device(chip->pci);
|
||||||
|
Loading…
Reference in New Issue
Block a user