[PATCH 00/10] dm snapshot: Fine-tuning for several function implementations

From: SF Markus Elfring
Date: Thu Sep 29 2016 - 05:03:33 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Sep 2016 10:35:43 +0200

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

Markus Elfring (10):
Use kmalloc_array() in init_origin_hash()
Delete two error messages for a failed memory allocation
Delete an unnecessary variable initialisation in snapshot_map()
Rename a jump label in pending_complete()
Delete unnecessary variable initialisations in pending_complete()
Delete an unnecessary variable initialisation in snapshot_ctr()
Delete an unnecessary variable initialisation in merge_callback()
Delete an unnecessary variable initialisation in remove_single_exception_chunk()
Combine substrings for seven error messages
Delete five unwanted spaces behind "list_for_each_entry"

drivers/md/dm-snap.c | 69 +++++++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 39 deletions(-)

--
2.10.0