diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-03-27 06:42:39 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-31 10:58:58 -0500 |
commit | 10d150e186d069cc7e2075c4823049949933777c (patch) | |
tree | 014f18a8ac2374b17f754cd50b4c3b2e85e07360 | |
parent | b3a70d5ece60684c00d7d94ccc42741efdf99336 (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>
-rw-r--r-- | sound/isa/opti9xx/miro.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/isa/opti9xx/miro.c b/sound/isa/opti9xx/miro.c index 49ba334c0d24..09384d03dc31 100644 --- a/sound/isa/opti9xx/miro.c +++ b/sound/isa/opti9xx/miro.c | |||
@@ -743,8 +743,7 @@ static long snd_legacy_find_free_ioport(long *port_table, long size) | |||
743 | struct resource *res; | 743 | struct resource *res; |
744 | if ((res = request_region(*port_table, size, | 744 | if ((res = request_region(*port_table, size, |
745 | "ALSA test")) != NULL) { | 745 | "ALSA test")) != NULL) { |
746 | release_resource(res); | 746 | release_and_free_resource(res); |
747 | kfree_nocheck(res); | ||
748 | return *port_table; | 747 | return *port_table; |
749 | } | 748 | } |
750 | port_table++; | 749 | port_table++; |
@@ -1150,8 +1149,7 @@ static int __init snd_card_miro_detect(struct snd_card *card, struct snd_miro *c | |||
1150 | if (value == snd_miro_read(chip, OPTi9XX_MC_REG(1))) | 1149 | if (value == snd_miro_read(chip, OPTi9XX_MC_REG(1))) |
1151 | return 1; | 1150 | return 1; |
1152 | 1151 | ||
1153 | release_resource(chip->res_mc_base); | 1152 | release_and_free_resource(chip->res_mc_base); |
1154 | kfree_nocheck(chip->res_mc_base); | ||
1155 | chip->res_mc_base = NULL; | 1153 | chip->res_mc_base = NULL; |
1156 | 1154 | ||
1157 | } | 1155 | } |