]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: rtl8139: Switch from malloc()+memset() to calloc()
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 9 May 2020 20:34:36 +0000 (22:34 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commit1ba8d9844562c74f0d80423d5dac658291d6d2f1
treeef02eb0e224edafd945ee655578801748b1c78a1
parent9962dd25b1e228c5c8f0b33ef89c48093ca2a311
net: rtl8139: Switch from malloc()+memset() to calloc()

Replace malloc()+memset() combination with calloc(), no functional change.

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