[PATCH 0/6] InfiniBand-ocrdma: Fine-tuning for some function implementations

SF Markus Elfring
2015-12-26T18:39:17Z

Date: Sat, 26 Dec 2015 19:30:54 +0100

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

Markus Elfring (6):
One variable and jump label less in ocrdma_alloc_ucontext_pd()
Delete unnecessary variable initialisations in 11 functions
Returning only value constants in ocrdma_qp_state_change()
Return a value from a function call in _ocrdma_modify_qp() directly
Returning only value constants in ocrdma_resize_cq()
Delete an unnecessary variable in ocrdma_dealloc_pd()

drivers/infiniband/hw/ocrdma/ocrdma_ah.c | 2 +-
drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 7 +++---
drivers/infiniband/hw/ocrdma/ocrdma_stats.c | 4 +--
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 39 +++++++++++------------------
4 files changed, 20 insertions(+), 32 deletions(-)

--
2.6.3