Skip to contentSkip to conversation

firmware: stratix10-svc: Slightly simplify code

PATCH Markus Elfring 1 participant 1 message Apr 29, 2020 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines

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