Skip to content
Commit 40434a67 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

net: chelsio: Use zeroing memory allocator instead of allocator/memset



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

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a025028
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment