diff options
author | Himanshu Jha <[email protected]> | 2017-12-31 01:33:52 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-01-04 17:03:15 +0100 |
commit | 2b80a29bf83d2baed1a22193647bafcc6a0426af (patch) | |
tree | 7081bb3902ffa221224dad0f160af26690b15cf3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d19000b885beea01947b8ed94506afe7dc4ab91b (diff) |
USB: host: Use zeroing memory allocator rather than allocator/memset
Use dma_zalloc_coherent for allocating zeroed
memory and remove unnecessary memset function.
Done using Coccinelle.
Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
0-day tested with no failures.
Suggested-by: Luis R. Rodriguez <[email protected]>
Signed-off-by: Himanshu Jha <[email protected]>
Acked-by: Alan Stern <[email protected]>
Acked-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions