|
@@ -184,8 +184,7 @@ static int snd_sbdsp_probe(struct snd_sb * chip)
|
|
|
|
|
|
static int snd_sbdsp_free(struct snd_sb *chip)
|
|
static int snd_sbdsp_free(struct snd_sb *chip)
|
|
{
|
|
{
|
|
- if (chip->res_port)
|
|
|
|
- release_and_free_resource(chip->res_port);
|
|
|
|
|
|
+ release_and_free_resource(chip->res_port);
|
|
if (chip->irq >= 0)
|
|
if (chip->irq >= 0)
|
|
free_irq(chip->irq, (void *) chip);
|
|
free_irq(chip->irq, (void *) chip);
|
|
#ifdef CONFIG_ISA
|
|
#ifdef CONFIG_ISA
|