diff options
| author | Lukas Wunner <lukas@wunner.de> | 2025-02-03 16:37:03 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-02-22 10:56:02 +0300 |
| commit | aefeca1188962da52e3ed35ddb865d37a216dd53 (patch) | |
| tree | d044f76e377af5da48103ed79d0a142967b008d5 /include/linux/debugobjects.h | |
| parent | 17410baf65c51d9792528c5484c8167bd186e98d (diff) | |
| download | linux-aefeca1188962da52e3ed35ddb865d37a216dd53.tar.xz | |
crypto: virtio - Drop superfluous ctx->tfm backpointer
struct virtio_crypto_[as]kcipher_ctx contains a backpointer to struct
crypto_[as]kcipher which is superfluous in two ways:
First, it's not used anywhere. Second, the context is embedded into
struct crypto_tfm, so one could just use container_of() to get from the
context to crypto_tfm and from there to crypto_[as]kcipher.
Drop the superfluous backpointer.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
