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

From: SF Markus Elfring
Date: Sat Feb 21 2015 - 14:35:18 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
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

--
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/