diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-08 16:50:21 +0800 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-09-20 13:20:27 +0200 |
commit | 827fd299a16404e1b8a64e5eb1830244ccd395cd (patch) | |
tree | ea42a7e86c408416cfc791dbd4ff0a6c55b0df76 /drivers/s390/char | |
parent | 6779df406b27ce44d989e965169db39fb58a7efa (diff) |
s390/zcrypt: Use kmemdup to replace kmalloc + memcpy
kmemdup has implemented the function that kmalloc() + memcpy() will
do. We prefer to use the kmemdup function rather than an open coded
implementation.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions