diff options
| author | Chuhong Yuan <[email protected]> | 2019-07-18 21:16:09 +0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-07-27 21:08:33 +1000 |
| commit | bfb5eb084ae93eb86d3b088c301500db138963e5 (patch) | |
| tree | 99ebecf43627d16ac9a27dc6b6cbc36f376f4153 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 6ed01097f4378199614fe625495657af7c601cea (diff) | |
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: Chuhong Yuan <[email protected]>
Acked-by: Gary R Hook <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions