]> 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)
commitc40df6dcf7918c0c772ae647985c21e74f10ed42
treede3fc103f7d5c7adabbdae0f6db6afe69205a68c
parentef9304eaa4dc92c22910417dcb3e5630388dde13
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