net: use kcalloc in netdev_queue alloc
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 21 Jul 2008 20:28:44 +0000 (13:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2008 20:28:44 +0000 (13:28 -0700)
commit7943986ca1138ac99597b1aa4dc893012dcfdc08
treed4e0461f4f0d8c6046253bb72ed12e583e19a5d9
parent847499ce71bdcc8fc542062df6ebed3e596608dd
net: use kcalloc in netdev_queue alloc

Minor nit, use size_t for allocation size and kcalloc to allocate
an array. Probably makes no actual code difference.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c