diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-04-16 19:05:01 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-04-20 19:59:04 +0300 |
commit | b930f3a2292d29e53caac1c82d44b655d8d40b72 (patch) | |
tree | 2d0e6343fd2cf9dada2777c990683c36c6d3dcb9 /drivers/crypto/Kconfig | |
parent | 8a2a0dd35f2e54c023d9041a5428b6c5639af86c (diff) | |
download | linux-b930f3a2292d29e53caac1c82d44b655d8d40b72.tar.xz |
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 'drivers/crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions