crypto: acomp - Remove dst_free
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 15 Mar 2025 10:30:29 +0000 (18:30 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Mar 2025 09:33:39 +0000 (17:33 +0800)
Remove the unused dst_free hook.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/internal/acompress.h

index 957a5ed7c7f1a89b7869044aa976bf1eb3f74b8a..575dbcbc0df46fbe7f3072039e1dd3cc199dca97 100644 (file)
@@ -17,7 +17,6 @@
  *
  * @compress:  Function performs a compress operation
  * @decompress:        Function performs a de-compress operation
- * @dst_free:  Frees destination buffer if allocated inside the algorithm
  * @init:      Initialize the cryptographic transformation object.
  *             This function is used to initialize the cryptographic
  *             transformation object. This function is called only once at
@@ -38,7 +37,6 @@
 struct acomp_alg {
        int (*compress)(struct acomp_req *req);
        int (*decompress)(struct acomp_req *req);
-       void (*dst_free)(struct scatterlist *dst);
        int (*init)(struct crypto_acomp *tfm);
        void (*exit)(struct crypto_acomp *tfm);