[PATCH 0/9] memstick: Fine-tuning for some function implementations

From: SF Markus Elfring
Date: Sat Jan 07 2017 - 14:50:45 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 7 Jan 2017 20:44:20 +0100

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

Markus Elfring (9):
Split a condition check in msb_ftl_initialize()
Use kmalloc_array() in msb_ftl_initialize()
Delete unwanted spaces behind three function parameters
Improve two size determinations in msb_resume()
Delete an unnecessary variable initialisation in msb_resume()
Improve a size determination in msb_probe()
Improve another size determination in msb_read_boot_blocks()
Delete an unnecessary variable initialisation in msb_read_boot_blocks()
Delete an unnecessary check in msb_update_block()

drivers/memstick/core/ms_block.c | 57 ++++++++++++++++++++++------------------
1 file changed, 32 insertions(+), 25 deletions(-)

--
2.11.0