[PATCH 0/5] s390/pci: Fine-tuning for three function implementations

From: SF Markus Elfring
Date: Sat Jan 21 2017 - 13:09:37 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 21 Jan 2017 18:58:18 +0100

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (5):
Return directly after a failed parameter validation in clp_normal_command()
Return directly after a failed clp_alloc_block() in clp_normal_command()
Move three assignments for the variable "rc" in clp_normal_command()
Move an assignment for the variable "ret" in s390_pci_mmio_write()
Move two assignments for the variable "ret" in get_pfn()

arch/s390/pci/pci_clp.c | 20 +++++++++-----------
arch/s390/pci/pci_mmio.c | 19 ++++++++++---------
2 files changed, 19 insertions(+), 20 deletions(-)

--
2.11.0