Simplifies allocation. There may or may not be missing frees here. One allocation is simpler to reason about.
v2: fix mistake in counted_by in first commit directly. Rosen Penev (2): mtd: virt_concat: use single allocation for node mtd: concat: replace alloc + calloc with 1 alloc drivers/mtd/mtd_virt_concat.c | 19 +++---------------- drivers/mtd/mtdconcat.c | 5 +---- include/linux/mtd/concat.h | 2 +- 3 files changed, 5 insertions(+), 21 deletions(-) -- 2.53.0

