On 01/22/2018 04:12 AM, Guoqing Jiang wrote: > There are some failure paths which share common codes > before return, so simplify them by move common codes > to the end of function, and just goto out in case > failure happened. > > Reviewed-by: NeilBrown <neilb@xxxxxxxx> > Signed-off-by: Guoqing Jiang <gqjiang@xxxxxxxx> > --- > Assemble.c | 62 ++++++++++++++++++++++---------------------------------------- > 1 file changed, 22 insertions(+), 40 deletions(-) Looks like you got rid of most of the if (locked) cases with this one. Applied! Thanks, Jes -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html