Skip to content

md: Deletion of a few 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 NAK

Status from this message: Nack.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/3dm snapshot: Deletion of unnecessary checks before the function call "vfree"drivers/md/dm-snap-persistent.c+4 -100 replies
2/3md/bitmap: Delete an unnecessary check before the function call "kfree"drivers/md/bitmap.c+5 -56 replies
3/3dm ioctl: Delete an unnecessary check before the function call "dm_table_destroy"drivers/md/dm-ioctl.c+1 -24 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/3] md: Deletion of a few unnecessary checks

From: Markus Elfring <[email protected]>
Date: Mon, 2 Feb 2015 15:51:43 +0100

Further update suggestions were taken into account together with results from static source code analysis.

Markus Elfring (3):
dm snapshot: Deletion of unnecessary checks before the function call "vfree" md/bitmap: Delete an unnecessary check before the function call "kfree" dm ioctl: Delete an unnecessary check before the function call "dm_table_destroy"

 drivers/md/bitmap.c             | 10 +++++-----
 drivers/md/dm-ioctl.c           |  3 +--
 drivers/md/dm-snap-persistent.c | 14 ++++----------
 3 files changed, 10 insertions(+), 17 deletions(-)
Signature · 1 line
2.2.2