Skip to content

Commit

Permalink
[ALSA] Remove obsolete kfree_nocheck call
Browse files Browse the repository at this point in the history
Fixed the compilation, removing obsolete kfree_nocheck() call
for memory debugging.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Mar 31, 2006
1 parent 10d150e commit 4356011
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sound/pci/riptide/riptide.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4356011

Please sign in to comment.