Skip to content

ALSA: Deletion of some unnecessary checks

SF Markus Elfring acpica-devel alsa-devel ath10k ath9k-devel backports batman ceph-devel cluster-devel cocci dm-devel dri-devel ecryptfs intel-gfx kernel-janitors kvm linux-acpi linux-arm-kernel linux-arm-msm linux-audit linux-bcache linux-block linux-bluetooth linux-btrfs linux-crypto linux-devicetree linux-ext4 linux-f2fs-devel linux-fbdev linux-fsdevel linux-gpio linux-hwmon linux-ia64 linux-ide linux-input linux-iommu linux-kbuild linux-media linux-mediatek linux-mm linux-mtd linux-nfs linux-nilfs linux-nvdimm linux-omap linux-parisc linux-pci linux-pm linux-ppp linux-pwm linux-raid linux-rdma linux-rockchip linux-s390 linux-samsung-soc linux-scsi linux-sctp linux-sh linux-spi linux-tegra linux-wireless linux-wpan linux-xfs linuxppc-dev lkml lustre-devel lvs-devel netdev netfilter-devel nouveau nvdimm ocfs2-devel platform-driver-x86 virtualization xen-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/13ALSA: seq: Deletion of unnecessary checks before the function call "snd_midi_event_free"sound/core/seq/oss/seq_oss_midi.c sound/core/seq/seq_midi.c+3 -60 replies
2/13ALSA: oss: Deletion of unnecessary checks before the function call "vfree"sound/oss/pss.c sound/oss/trix.c+2 -20 replies
3/13ALSA: emu10k1: Delete an unnecessary check before the function call "kfree"sound/pci/emu10k1/p16v.c+2 -50 replies
4/13ALSA: oxygen: Delete an unnecessary check before the function call "snd_pcm_suspend"sound/pci/oxygen/oxygen_lib.c+1 -20 replies
5/13ALSA: emux: Delete an unnecessary check before the function call "snd_sf_free"sound/synth/emux/emux.c+1 -50 replies
6/13ASoC: Intel: Delete an unnecessary check before the function call "sst_dma_free"sound/soc/intel/sst-dsp.c+1 -24 replies
7/13ASoC: fsi: Deletion of unnecessary checks before the function call "clk_enable"sound/soc/sh/fsi.c+3 -61 reply
8/13ASoC: Intel: Delete an unnecessary check before the function call "release_firmware"sound/soc/intel/sst/sst_loader.c+1 -21 reply
9/13ALSA: i2sbus: Delete an unnecessary check before the function call "snd_pcm_suspend_all"sound/aoa/soundbus/i2sbus/core.c+2 -40 replies
10/13ALSA: sb: Delete an unnecessary check before the function call "snd_emux_free"sound/isa/sb/emu8000_synth.c+1 -20 replies
11/13ALSA: Deletion of checks before the function call "iounmap"sound/aoa/soundbus/i2sbus/core.c sound/arm/aaci.c sound/drivers/ml403-ac97cr.c +23 more+43 -904 replies
12/13ALSA: msnd: One function call less in snd_msnd_attach() after error detectionsound/isa/msnd/msnd_pinnacle.c+8 -71 reply
13/13ALSA: msnd: Fix centralized exiting from snd_msnd_attach()sound/isa/msnd/msnd_pinnacle.c+8 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/13] ALSA: Deletion of some unnecessary checks

From: Markus Elfring <[email protected]>
Date: Sun, 4 Jan 2015 11:50:12 +0100

Further update suggestions were taken into account after several patches were applied from static source code analysis.

Markus Elfring (3):
seq: Deletion of unnecessary checks before the function call "snd_midi_event_free"
oss: Deletion of unnecessary checks before the function call "vfree"
emu10k1: Delete an unnecessary check before the function call "kfree"
oxygen: Delete an unnecessary check before the function call "snd_pcm_suspend"
emux: Delete an unnecessary check before the function call "snd_sf_free"
ASoC: Intel: Delete an unnecessary check before the function call "sst_dma_free"
ASoC: fsi: Deletion of unnecessary checks before the function call "clk_enable"
ASoC: Intel: Delete an unnecessary check before the function call "release_firmware"
i2sbus: Delete an unnecessary check before the function call "snd_pcm_suspend_all"
sb: Delete an unnecessary check before the function call "snd_emux_free" Deletion of checks before the function call "iounmap"
msnd: One function call less in snd_msnd_attach() after error detection
msnd: Fix centralized exiting from snd_msnd_attach()

 sound/aoa/soundbus/i2sbus/core.c | 13 ++++++-------
 sound/arm/aaci.c                 |  4 ++--
 sound/drivers/ml403-ac97cr.c     |  3 +--
 sound/isa/msnd/msnd_pinnacle.c   | 31 ++++++++++++++++---------------
 sound/parisc/harmony.c           |  4 +---
 sound/pci/ad1889.c               |  5 +----
 sound/pci/asihpi/hpioctl.c       |  6 ++----
 sound/pci/atiixp.c               |  3 +--
 sound/pci/atiixp_modem.c         |  3 +--
 sound/pci/aw2/aw2-alsa.c         |  4 +---
 sound/pci/bt87x.c                |  3 +--
 sound/pci/cs4281.c               |  6 ++----
 sound/pci/cs46xx/cs46xx_lib.c    |  4 ++--
 sound/pci/ctxfi/cthw20k1.c       |  5 +----
 sound/pci/ctxfi/cthw20k2.c       |  5 +----
 sound/pci/echoaudio/echoaudio.c  |  6 +-----
 sound/pci/hda/hda_intel.c        |  3 +--
 sound/pci/lola/lola.c            |  6 ++----
 sound/pci/mixart/mixart.c        |  7 +++----
 sound/pci/nm256/nm256.c          |  6 ++----
 sound/pci/rme9652/hdsp.c         |  4 +---
 sound/pci/rme9652/hdspm.c        |  4 +---
 sound/pci/rme9652/rme9652.c      |  3 +--
 sound/pci/sis7019.c              |  5 +----
 sound/pci/ymfpci/ymfpci_main.c   |  3 +--
 sound/ppc/pmac.c                 | 15 +++++----------
 26 files changed, 58 insertions(+), 103 deletions(-)
Signature · 1 line
2.2.1