summaryrefslogtreecommitdiff
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-06-01 01:51:33 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-07-14 21:34:29 -0400
commit67c3bceabb42780f18362d7c5ec72a700051ca36 (patch)
tree40454c88bafafa7d29dfdbf987662b1700a44941 /drivers/irqchip
parent973dd9c4db4746200f88fe46e30eada7054fdbea (diff)
Bluetooth: btintel_pcie: Remove unnecessary memset(0) calls
Remove memset(0) after dma_alloc_coherent(), which already zeroes out the memory, and fix the following two Coccinelle/coccicheck warnings reported by zalloc-simple.cocci: btintel_pcie.c:837:19-37: WARNING: dma_alloc_coherent used in /* Allocate full chunk of data buffer for DMA first and do indexing and * initialization next, so it can be freed easily */ rxq->buf_v_addr already zeroes out memory, so memset is not needed btintel_pcie.c:792:19-37: WARNING: dma_alloc_coherent used in /* Allocate full chunk of data buffer for DMA first and do indexing and * initialization next, so it can be freed easily */ txq->buf_v_addr already zeroes out memory, so memset is not needed Fixes: c2b636b3f788 ("Bluetooth: btintel_pcie: Add support for PCIe transport") Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions