summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-02-18 18:46:51 +0100
committerDavid S. Miller <davem@davemloft.net>2022-02-19 16:38:12 +0000
commit92c54a65e6a82a897a9fecaae8de6c57682ba510 (patch)
tree532d63482392d6a08449cf69f12601c73366cb57 /net
parent32d51cef91dbd6a95616b99d9f061e62be3aef30 (diff)
atm: nicstar: Use kcalloc() to simplify code
Use kcalloc() instead of kmalloc_array() and a loop to set all the values of the array to NULL. While at it, remove a duplicated assignment to 'scq->num_entries'. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions