commit | cf61359de9ed1cc559ff9451d6fabbdc6e53173a | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sun Mar 15 15:14:18 2020 +0100 |
committer | marex <marex@desktop.lan> | Fri May 01 12:35:21 2020 +0200 |
tree | 28fd4bd9734a698c4ba286462a05779235a1e961 | |
parent | 433f0ea206c79cedab72b52c3e9361799c2b3414 [diff] |
net: smc911x: Replace malloc()+memset() with calloc() Replace combination of malloc()+memset() with calloc() as the behavior is exactly the same and the amount of code is reduced. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>