diff options
author | 2020-07-30 14:43:50 +0800 | |
---|---|---|
committer | 2020-07-30 17:41:05 -0700 | |
commit | bbf1b94a733d823f195d9e9f960a2e60718acc3e (patch) | |
tree | 1023fd9725eda27b8c9af1cfa493e1ce4bfcae7e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | liquidio: Replace vmalloc with kmalloc in octeon_register_dispatch_fn() (diff) | |
download | wireguard-linux-bbf1b94a733d823f195d9e9f960a2e60718acc3e.tar.xz wireguard-linux-bbf1b94a733d823f195d9e9f960a2e60718acc3e.zip |
bnxt_en: Remove superfluous memset()
Fixes coccicheck warning:
./drivers/net/ethernet/broadcom/bnxt/bnxt.c:3730:19-37: WARNING:
dma_alloc_coherent use in stats -> hw_stats already zeroes out
memory, so memset is not needed
dma_alloc_coherent use in status already zeroes out memory,
so memset is not needed
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Li Heng <liheng40@huawei.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