Skip to content
Commit d9f393f4 authored by Robin Murphy's avatar Robin Murphy Committed by David S. Miller
Browse files

nfp: Simplify array allocation



Prefer kcalloc() to kzalloc(array_size()) for allocating an array.

Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Acked-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a9c5eb64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment