diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-01-26 16:30:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 13:50:34 +0000 |
commit | d9f393f468aa939b53cc81b43169953ce37d7cdb (patch) | |
tree | 389747bc79abf29c9a87cff0a00d56c477ff4766 /net/core/utils.c | |
parent | a9c5eb642f53260cca406c25c0b801f000ca41fc (diff) |
nfp: Simplify array allocation
Prefer kcalloc() to kzalloc(array_size()) for allocating an array.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions