crypto: deadcode structs from 'comp' removal
authorDr. David Alan Gilbert <linux@treblig.org>
Sat, 12 Apr 2025 23:32:41 +0000 (00:32 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Apr 2025 07:36:24 +0000 (15:36 +0800)
Ard's recent series of patches removing 'comp' implementations
left behind a bunch of trivial structs, remove them.

These are:
  crypto842_ctx - commit 2d985ff0072f ("crypto: 842 - drop obsolete 'comp'
implementation")
  lz4_ctx       - commit 33335afe33c9 ("crypto: lz4 - drop obsolete 'comp'
implementation")
  lz4hc_ctx     - commit dbae96559eef ("crypto: lz4hc - drop obsolete
'comp' implementation")
  lzo_ctx       - commit a3e43a25bad0 ("crypto: lzo - drop obsolete
'comp' implementation")
  lzorle_ctx    - commit d32da55c5b0c ("crypto: lzo-rle - drop obsolete
'comp' implementation")

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/842.c
crypto/lz4.c
crypto/lz4hc.c
crypto/lzo-rle.c
crypto/lzo.c

index 5fb37a92598923ae5363c9ca1575450bafdee2c5..881945d44328f8713b482f9928fdb4667b5ee25b 100644 (file)
 #include <linux/module.h>
 #include <linux/sw842.h>
 
-struct crypto842_ctx {
-       void *wmem;     /* working memory for compress */
-};
-
 static void *crypto842_alloc_ctx(void)
 {
        void *ctx;
index 82588607fb2ee1276727aee8383f029adf0dd0de..9661ed01692feaca27665911b12849dff0798caf 100644 (file)
 #include <linux/lz4.h>
 #include <crypto/internal/scompress.h>
 
-struct lz4_ctx {
-       void *lz4_comp_mem;
-};
-
 static void *lz4_alloc_ctx(void)
 {
        void *ctx;
index 997e76c0183a66a96a415671910233d270d24853..a637fddc1ccd89a28bc115667aa5171c1618fe03 100644 (file)
 #include <linux/vmalloc.h>
 #include <linux/lz4.h>
 
-struct lz4hc_ctx {
-       void *lz4hc_comp_mem;
-};
-
 static void *lz4hc_alloc_ctx(void)
 {
        void *ctx;
index b1350ae278b8f45a83a5f66e610de2e29c29a960..e7efcf107179908d5e68b9709c339c41a6e374a2 100644 (file)
@@ -9,10 +9,6 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 
-struct lzorle_ctx {
-       void *lzorle_comp_mem;
-};
-
 static void *lzorle_alloc_ctx(void)
 {
        void *ctx;
index dfe5a07ca35fc16b8fc3a3eb2637816f8e723b3f..f1b36a1ca6f6bcd1a173f5360e7815df56165f10 100644 (file)
@@ -9,10 +9,6 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 
-struct lzo_ctx {
-       void *lzo_comp_mem;
-};
-
 static void *lzo_alloc_ctx(void)
 {
        void *ctx;