diff options
| author | Marek Vasut <[email protected]> | 2020-03-15 15:14:18 +0100 |
|---|---|---|
| committer | marex <[email protected]> | 2020-05-01 12:35:21 +0200 |
| commit | 882d5f6983ff23b6f09899bb43d6dfd90ed7492f (patch) | |
| tree | 28fd4bd9734a698c4ba286462a05779235a1e961 /scripts/checkpatch.pl | |
| parent | 9c211e3b055ce809ac81ea4f849594ffb6f77df4 (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 <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
