diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-02-11 19:19:28 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-02-22 09:25:46 +0800 |
commit | 91fc6c7b3328c6f72a37e7bc319eb8419f109be3 (patch) | |
tree | 9a26aeb4578e517055cac7d95c54c7b5c5851eab /fs/xattr.c | |
parent | f7c8f992013da1afad6a353b7c73ea35c014d507 (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 <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions