Skip to content

Commit

Permalink
[ALSA] echoaudio - Remove kfree_nocheck()
Browse files Browse the repository at this point in the history
Remove obsoleted kfree_nochec() (for debug).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jun 28, 2006
1 parent ccb99ee commit 8caf7aa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sound/pci/echoaudio/echoaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1878,10 +1878,9 @@ static int snd_echo_free(struct echoaudio *chip)
if (chip->dsp_registers)
iounmap(chip->dsp_registers);

if (chip->iores) {
release_resource(chip->iores);
kfree_nocheck(chip->iores);
}
if (chip->iores)
release_and_free_resource(chip->iores);

DE_INIT(("MMIO freed.\n"));

pci_disable_device(chip->pci);
Expand Down

0 comments on commit 8caf7aa

Please sign in to comment.