summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-03-15 13:30:29 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-03-21 12:33:39 +0300
commit7cf97a11743a66b67e8225545f0998fa1a3455d4 (patch)
tree1ce8efcb22ef19548f16d58b06a87ecd4829c340
parentc964444fa7ac0aabf1773a7bbcfeb7457f853d99 (diff)
downloadlinux-7cf97a11743a66b67e8225545f0998fa1a3455d4.tar.xz
crypto: acomp - Remove dst_free
Remove the unused dst_free hook. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--include/crypto/internal/acompress.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/internal/acompress.h b/include/crypto/internal/acompress.h
index 957a5ed7c7f1..575dbcbc0df4 100644
--- a/include/crypto/internal/acompress.h
+++ b/include/crypto/internal/acompress.h
@@ -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);