[PATCH 0/5] raid1-10 and raid0 cleanups

From: Marcos Paulo de Souza
Date: Mon May 20 2019 - 17:47:11 EST


The first patch is just removing some code duplicated in raid1 and raid10, and
the other three patches are just cleanups.

These patches were based in "drivers: md: Unify common definitions of raid1 and
raid10", sent a few weeks ago. Let me know if these patches can be improved.

Thanks

Marcos Paulo de Souza (5):
md cleanup
raid1-10: Unify r{1,10}bio_pool_free
raid0: Remove return statement from void function
md: raid0: Return md_integrity_register result directly
md: raid0: Make ret local in raid0_run

drivers/md/raid0.c | 8 ++------
drivers/md/raid1-10.c | 30 ++++++++++++++++++++++++++++++
drivers/md/raid1.c | 42 ++++++------------------------------------
drivers/md/raid10.c | 38 ++++----------------------------------
4 files changed, 42 insertions(+), 76 deletions(-)

--
2.21.0