ibmveth: consolidate kmalloc of array, memset 0 to kcalloc
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 20 Dec 2015 14:06:18 +0000 (15:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Dec 2015 17:59:41 +0000 (12:59 -0500)
commit076ef440708bc28d821cebb2dbca64e3c917ac73
treede3fc103f7d5c7adabbdae0f6db6afe69205a68c
parent958d104e3d40eef5148c402887138f6594ff7e1e
ibmveth: consolidate kmalloc of array, memset 0 to kcalloc

This is an API consolidation only. The use of kmalloc + memset to 0
is equivalent to kcalloc in this case as it is allocating an array
of elements.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmveth.c