]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: virtio - Drop superfluous [as]kcipher_req pointer
authorLukas Wunner <lukas@wunner.de>
Mon, 3 Feb 2025 13:37:05 +0000 (14:37 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2025 07:56:02 +0000 (15:56 +0800)
commit62d027fb49c76475c5256ab69059752f42c3730f
tree88831367c6c71dac32e5cca9e8e8af6c7f4e7a4b
parentdc91d858fb9251b25828ab63ac7220145cef282c
crypto: virtio - Drop superfluous [as]kcipher_req pointer

The request context virtio_crypto_{akcipher,sym}_request contains a
pointer to the [as]kcipher_request itself.

The pointer is superfluous as it can be calculated with container_of().

Drop the superfluous pointer.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c