Skip to content
Commit bfb5eb08 authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Herbert Xu
Browse files

crypto: ccp - Replace dma_pool_alloc + memset with dma_pool_zalloc



Use dma_pool_zalloc instead of using dma_pool_alloc to allocate
memory and then zeroing it with memset 0.
This simplifies the code.

Signed-off-by: default avatarChuhong Yuan <hslester96@gmail.com>
Acked-by: default avatarGary R Hook <gary.hook@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6ed01097
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment