Christophe JAILLET 92c54a65e6 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>
2022-02-19 16:38:12 +00:00
..
2020-08-23 17:36:59 -05:00
2021-03-15 12:43:10 -07:00
2021-05-21 13:55:32 -07:00