aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2025-03-16 01:21:27 +0000
committerHerbert Xu <[email protected]>2025-03-21 09:39:06 +0000
commitfce8b8d5986b76a4fdd062e3eec1bb6420fee6c5 (patch)
treea650adef7eb2d2a2dd863f4aba70e25321c138c0 /crypto/api.c
parentcrypto: compress_null - drop obsolete 'comp' implementation (diff)
downloadkernel-fce8b8d5986b76a4fdd062e3eec1bb6420fee6c5.tar.gz
kernel-fce8b8d5986b76a4fdd062e3eec1bb6420fee6c5.zip
crypto: remove obsolete 'comp' compression API
The 'comp' compression API has been superseded by the acomp API, which is a bit more cumbersome to use, but ultimately more flexible when it comes to hardware implementations. Now that all the users and implementations have been removed, let's remove the core plumbing of the 'comp' API as well. Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'crypto/api.c')
-rw-r--r--crypto/api.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/api.c b/crypto/api.c
index 91957bb52f3f..3416e98128a0 100644
--- a/crypto/api.c
+++ b/crypto/api.c
@@ -383,10 +383,6 @@ static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask)
case CRYPTO_ALG_TYPE_CIPHER:
len += crypto_cipher_ctxsize(alg);
break;
-
- case CRYPTO_ALG_TYPE_COMPRESS:
- len += crypto_compress_ctxsize(alg);
- break;
}
return len;