diff options
| author | Li Heng <[email protected]> | 2020-07-30 06:43:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-07-31 00:41:05 +0000 |
| commit | bbf1b94a733d823f195d9e9f960a2e60718acc3e (patch) | |
| tree | 1023fd9725eda27b8c9af1cfa493e1ce4bfcae7e /net/bluetooth/l2cap_sock.c | |
| parent | liquidio: Replace vmalloc with kmalloc in octeon_register_dispatch_fn() (diff) | |
| download | kernel-bbf1b94a733d823f195d9e9f960a2e60718acc3e.tar.gz kernel-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 <[email protected]>
Signed-off-by: Li Heng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions
