diff options
| author | 2018-04-16 13:05:01 -0300 | |
|---|---|---|
| committer | 2018-04-21 00:59:04 +0800 | |
| commit | b930f3a2292d29e53caac1c82d44b655d8d40b72 (patch) | |
| tree | 2d0e6343fd2cf9dada2777c990683c36c6d3dcb9 /tools/perf/scripts/python | |
| parent | crypto: caam - strip input zeros from RSA input buffer (diff) | |
| download | linux-dev-b930f3a2292d29e53caac1c82d44b655d8d40b72.tar.xz linux-dev-b930f3a2292d29e53caac1c82d44b655d8d40b72.zip | |
crypto: caam: - Use kmemdup() function
Use kmemdup() rather than duplicating its implementation.
By usign kmemdup() we can also get rid of the 'val' variable.
Detected with Coccinelle script.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
