aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2020-02-11 19:19:28 +0100
committerHerbert Xu <[email protected]>2020-02-22 09:25:46 +0800
commit91fc6c7b3328c6f72a37e7bc319eb8419f109be3 (patch)
tree9a26aeb4578e517055cac7d95c54c7b5c5851eab /tools/perf/scripts/python
parentf7c8f992013da1afad6a353b7c73ea35c014d507 (diff)
crypto: ccree - use devm_kzalloc() for hash data
As the lifetime of the hash data matches the lifetime of the driver, hash data can be allocated using the managed allocators. While at it, simplify cc_hash_free() by removing an unneeded check (hash_handle is always valid here). Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions