]> git.baikalelectronics.ru Git - uboot.git/commit
net: pcnet: Replace memset+malloc with calloc
authorMarek Vasut <marek.vasut@gmail.com>
Sun, 17 May 2020 16:24:15 +0000 (18:24 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 29 Jun 2020 20:36:35 +0000 (22:36 +0200)
commitb71f73cd65be90c6ab11a56e1c09e2c468fea148
treedc2ed45f5ebd1b508b8ae84dedd1c51961a38b00
parent03f1c0f164b931adb6f89535ec3cb3c14d4a5e46
net: pcnet: Replace memset+malloc with calloc

This combination of functions can be replaced with calloc(),
make it so.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/pcnet.c