[PATCH 0/3] staging: lustre: Deletion of some unnecessary checks

From: SF Markus Elfring
Date: Thu Nov 05 2015 - 07:10:56 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 5 Nov 2015 13:03:33 +0100

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

Markus Elfring (3):
Delete unnecessary checks before two function calls
Delete an unnecessary variable initialisation in class_register_type()
Less function calls in class_register_type() after error detection

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/obdclass/genops.c | 34 ++++++++++++++-----------
4 files changed, 25 insertions(+), 28 deletions(-)

--
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/