diff options
author | 2017-12-30 21:14:57 +0530 | |
---|---|---|
committer | 2018-01-02 21:56:40 -0500 | |
commit | aa006d1ad0a58f5dad0065b25263a73365319996 (patch) | |
tree | 8ee936b74cd14d0d0b32e067b9377466ff199cf3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | qed: Use zeroing memory allocator than allocator/memset (diff) | |
download | wireguard-linux-aa006d1ad0a58f5dad0065b25263a73365319996.tar.xz wireguard-linux-aa006d1ad0a58f5dad0065b25263a73365319996.zip |
ethernet/broadcom: Use zeroing memory allocator than allocator/memset
Use dma_zalloc_coherent for allocating zeroed
memory and remove unnecessary memset function.
Done using Coccinelle.
Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
0-day tested with no failures.
Suggested-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions