ALSA: Deletion of checks before the function call "iounmap"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 3 Jan 2015 21:55:54 +0000 (22:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 4 Jan 2015 14:13:45 +0000 (15:13 +0100)
commitff6defa6a8fae12205d64f55db395b1fcf35af8e
treea08b5c63a0c7e21f955e254178dc53ea0d7b6e3f
parentb76c0e95ab0f535e210df588b8ac42dd75b31c75
ALSA: Deletion of checks before the function call "iounmap"

The iounmap() function performs also input parameter validation.
Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
26 files changed:
sound/aoa/soundbus/i2sbus/core.c
sound/arm/aaci.c
sound/drivers/ml403-ac97cr.c
sound/isa/msnd/msnd_pinnacle.c
sound/parisc/harmony.c
sound/pci/ad1889.c
sound/pci/asihpi/hpioctl.c
sound/pci/atiixp.c
sound/pci/atiixp_modem.c
sound/pci/aw2/aw2-alsa.c
sound/pci/bt87x.c
sound/pci/cs4281.c
sound/pci/cs46xx/cs46xx_lib.c
sound/pci/ctxfi/cthw20k1.c
sound/pci/ctxfi/cthw20k2.c
sound/pci/echoaudio/echoaudio.c
sound/pci/hda/hda_intel.c
sound/pci/lola/lola.c
sound/pci/mixart/mixart.c
sound/pci/nm256/nm256.c
sound/pci/rme9652/hdsp.c
sound/pci/rme9652/hdspm.c
sound/pci/rme9652/rme9652.c
sound/pci/sis7019.c
sound/pci/ymfpci/ymfpci_main.c
sound/ppc/pmac.c