Fixed the compilation, removing obsolete kfree_nocheck() call
for memory debugging.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
struct resource *res;
if ((res = request_region(*port_table, size,
"ALSA test")) != NULL) {
- release_resource(res);
- kfree_nocheck(res);
+ release_and_free_resource(res);
return *port_table;
}
port_table++;
if (value == snd_miro_read(chip, OPTi9XX_MC_REG(1)))
return 1;
- release_resource(chip->res_mc_base);
- kfree_nocheck(chip->res_mc_base);
+ release_and_free_resource(chip->res_mc_base);
chip->res_mc_base = NULL;
}