aboutsummaryrefslogtreecommitdiffstats
path: root/sound/parisc/harmony.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/parisc/harmony.c')
-rw-r--r--sound/parisc/harmony.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c
index 29604a239c44..f2350c1d6ee8 100644
--- a/sound/parisc/harmony.c
+++ b/sound/parisc/harmony.c
@@ -893,9 +893,7 @@ snd_harmony_free(struct snd_harmony *h)
893 if (h->irq >= 0) 893 if (h->irq >= 0)
894 free_irq(h->irq, h); 894 free_irq(h->irq, h);
895 895
896 if (h->iobase) 896 iounmap(h->iobase);
897 iounmap(h->iobase);
898
899 kfree(h); 897 kfree(h);
900 return 0; 898 return 0;
901} 899}