Re: [PATCH 4/4 v2] firmware: stratix10-svc: Slightly simplify code

From: Markus Elfring
Date: Wed Apr 29 2020 - 08:41:25 EST


> Replace 'devm_kmalloc_array(... | __GFP_ZERO)' with the equivalent and
> shorter 'devm_kcalloc(...)'.
>
> 'ctrl->genpool' can not be NULL, so axe a useless test in the remove
> function.

I would find it clearer to integrate also such small source code improvements
by separate patches.

Regards,
Markus