]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit857d87ec999332869a2d295658142f046493e338
treede3fc103f7d5c7adabbdae0f6db6afe69205a68c
parentf6ea17483ed021e1b58222072669df6041940581
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