Skip to content

SCSI-QLA4...: 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 In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4SCSI-QLA4...: Deletion of unnecessary checks before three function callsdrivers/scsi/qla4xxx/ql4_mbx.c drivers/scsi/qla4xxx/ql4_os.c+11 -220 replies
2/4SCSI-QLA4...: Less function calls in qla4xxx_is_session_exists() after error detectiondrivers/scsi/qla4xxx/ql4_os.c+8 -94 replies
3/4SCSI-QLA4...: Less function calls in qla4xxx_is_flash_ddb_exists() after error detectiondrivers/scsi/qla4xxx/ql4_os.c+9 -100 replies
4/4SCSI-QLA4...: Less function calls in qla4xxx_sysfs_ddb_logout() after error detectiondrivers/scsi/qla4xxx/ql4_os.c+17 -180 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/4] SCSI-QLA4...: Deletion of some unnecessary checks

From: Markus Elfring <[email protected]>
Date: Fri, 6 Feb 2015 23:03:41 +0100

Further update suggestions were taken into account after a patch was applied from static source code analysis.

Markus Elfring (4):
Deletion of unnecessary checks before three function calls Less function calls in qla4xxx_is_session_exists() after error detection Less function calls in qla4xxx_is_flash_ddb_exists() after error detection Less function calls in qla4xxx_sysfs_ddb_logout() after error detection

 drivers/scsi/qla4xxx/ql4_mbx.c |  2 +-
 drivers/scsi/qla4xxx/ql4_os.c  | 96 ++++++++++++++++++------------------------
 2 files changed, 42 insertions(+), 56 deletions(-)
Signature · 1 line
2.2.2