[PATCH 0/7] ocfs2: Deletion of some unnecessary checks

SF Markus Elfring
2015-02-21T19:34:51Z

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 21 Feb 2015 20:15:16 +0100

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

Markus Elfring (7):
Deletion of unnecessary checks before three function calls
Less function calls in ocfs2_convert_inline_data_to_extents()
after error detection
Less function calls in ocfs2_figure_merge_contig_type()
after error detection
One function call less in ocfs2_merge_rec_left()
after error detection
One function call less in ocfs2_merge_rec_right()
after error detection
One function call less in ocfs2_init_slot_info()
after error detection
One function call less in user_cluster_connect()
after error detection

fs/ocfs2/alloc.c | 48 ++++++++++++++++++++++--------------------------
fs/ocfs2/slot_map.c | 4 ++--
fs/ocfs2/stack_user.c | 8 +++-----
3 files changed, 27 insertions(+), 33 deletions(-)

--
2.3.0