git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: Deletion of checks before the function call "iounmap"
[sfrench/cifs-2.6.git]
/
sound
/
parisc
/
harmony.c
diff --git
a/sound/parisc/harmony.c
b/sound/parisc/harmony.c
index 29604a239c4447b82d14541c5337a62dc10e6f21..f2350c1d6ee89f7978a3ef00a7cdfa6c682a3795 100644
(file)
--- a/
sound/parisc/harmony.c
+++ b/
sound/parisc/harmony.c
@@
-893,9
+893,7
@@
snd_harmony_free(struct snd_harmony *h)
if (h->irq >= 0)
free_irq(h->irq, h);
- if (h->iobase)
- iounmap(h->iobase);
-
+ iounmap(h->iobase);
kfree(h);
return 0;
}