net: pcnet: Replace memset+malloc with calloc
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 17 May 2020 14:26:57 +0000 (16:26 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 18 Jun 2020 17:34:40 +0000 (19:34 +0200)
commitae38e96c23f3d08e2ec49206a99271252f5b3dc2
treec305fd35cb38a63a3bfff79f29eff2e354f11d7e
parent1c38c36eb99abfd1bc46b90c80f7daa5c65f3527
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