diff options
author | Ji-Hun Kim <ji_hun.kim@samsung.com> | 2018-05-09 09:12:37 +0900 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-05-14 13:59:52 +0300 |
commit | f5495bb9aca4ccd46a14161bf2d9dd72c8b7166e (patch) | |
tree | a6e2a6a4b8000b1440779575501fa7a0e4adff82 /tools/perf/scripts/python | |
parent | 697989164ef699a01012490fa2dd1970b17828e6 (diff) |
tpm: replace kmalloc() + memcpy() with kmemdup()
Use kmemdup rather than duplicating its implementation.
Signed-off-by: Ji-Hun Kim <ji_hun.kim@samsung.com>
Reviewed-by: James Morris <james.morris@microsoft.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkine@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkine@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions