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 5fb37a9..881945d 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 8258860..9661ed0 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 997e76c..a637fdd 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 b1350ae..e7efcf1 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 dfe5a07..f1b36a1 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;