diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-03-27 06:45:51 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-31 10:58:58 -0500 |
commit | 43560116d1f70de274915fdec0745c6e02feef30 (patch) | |
tree | 4fa96d4e44f5526780e9eb54aa89f9b4d5a852c2 /sound/pci/riptide/riptide.c | |
parent | 10d150e186d069cc7e2075c4823049949933777c (diff) |
[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>
Diffstat (limited to 'sound/pci/riptide/riptide.c')
-rw-r--r-- | sound/pci/riptide/riptide.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c index 5b3e49900498..f148ee434a6b 100644 --- a/sound/pci/riptide/riptide.c +++ b/sound/pci/riptide/riptide.c | |||
@@ -1838,10 +1838,7 @@ static int snd_riptide_free(struct snd_riptide *chip) | |||
1838 | } | 1838 | } |
1839 | if (chip->fw_entry) | 1839 | if (chip->fw_entry) |
1840 | release_firmware(chip->fw_entry); | 1840 | release_firmware(chip->fw_entry); |
1841 | if (chip->res_port) { | 1841 | release_and_free_resource(chip->res_port); |
1842 | release_resource(chip->res_port); | ||
1843 | kfree_nocheck(chip->res_port); | ||
1844 | } | ||
1845 | if (chip->irq >= 0) | 1842 | if (chip->irq >= 0) |
1846 | free_irq(chip->irq, chip); | 1843 | free_irq(chip->irq, chip); |
1847 | kfree(chip); | 1844 | kfree(chip); |