[PATCH 00/12] staging-Lustre: Fine-tuning for seven function implementations

From: SF Markus Elfring
Date: Tue Jul 26 2016 - 14:54:42 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>

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

Markus Elfring (12):
ldlm: Delete unnecessary checks before the function call "kset_unregister"
Delete unnecessary checks before the function call "kobject_put"
One function call less in class_register_type() after error detection
Split a condition check in class_register_type()
Optimize error handling in class_register_type()
Return directly after a failed kcalloc() in mgc_process_recover_log()
Less checks after a failed alloc_page() in mgc_process_recover_log()
Less checks after a failed ptlrpc_request_alloc() inmgc_process_recover_log()
Delete a check for the variable "req" in mgc_process_recover_log()
Rename jump labels in mgc_process_recover_log()
Move an assignment for the variable "eof" in mgc_process_recover_log()
Delete an unnecessary variable initialisation in mgc_process_recover_log()

drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 10 ++---
drivers/staging/lustre/lustre/lmv/lmv_obd.c | 5 +--
drivers/staging/lustre/lustre/lov/lov_obd.c | 4 +-
drivers/staging/lustre/lustre/mgc/mgc_request.c | 50 ++++++++++++-------------
drivers/staging/lustre/lustre/obdclass/genops.c | 41 ++++++++++++--------
5 files changed, 54 insertions(+), 56 deletions(-)

--
2.9.2