]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: Use zeroing memory allocator than allocator/memset
authorHimanshu Jha <himanshujha199640@gmail.com>
Mon, 8 Jan 2018 20:45:31 +0000 (02:15 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 11 Jan 2018 19:52:59 +0000 (21:52 +0200)
commit4d8405df9692b4aff9b6fd26309b2104595d177c
tree9ad7ea942e4e46b4be59949b3cec2c31910d35a5
parent4648e5de58add5238824df41378633eaf39514d1
brcmfmac: Use zeroing memory allocator than allocator/memset

Use dma_zalloc_coherent for allocating zeroed
memory and remove unnecessary memset function.

Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
Suggested-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c