]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccree - remove struct cc_cipher_handle
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 11 Feb 2020 18:19:15 +0000 (19:19 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2020 01:25:45 +0000 (09:25 +0800)
commit2ed68570e47d52be4255cefe3e71765696c388b6
treeeffb43f49d7f58383454d63e80cf1c8f2a0e8b98
parentb09bae5d2d2a6444f5888e077052ff04512afcf9
crypto: ccree - remove struct cc_cipher_handle

The cc_cipher_handle structure contains only a single member, and only
one instance exists.  Simplify the code and reduce memory consumption by
moving this member to struct cc_drvdata.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_cipher.c
drivers/crypto/ccree/cc_driver.h