crypto: deadcode structs from 'comp' removal
Subsystems (2)
PATCH 1/1 crypto: deadcode structs from 'comp' removal
From: "Dr. David Alan Gilbert" <[email protected]>
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")
--- crypto/842.c | 4 ---- crypto/lz4.c | 4 ---- crypto/lz4hc.c | 4 ---- crypto/lzo-rle.c | 4 ---- crypto/lzo.c | 4 ---- 5 files changed, 20 deletions(-)
crypto/842.c +0 -4
@@ -23,10 +23,6 @@#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;
crypto/lz4.c +0 -4
@@ -12,10 +12,6 @@#include <linux/lz4.h> #include <crypto/internal/scompress.h> -struct lz4_ctx { -void *lz4_comp_mem; -}; -static void *lz4_alloc_ctx (void ) {void *ctx;
crypto/lz4hc.c +0 -4
@@ -10,10 +10,6 @@#include <linux/vmalloc.h> #include <linux/lz4.h> -struct lz4hc_ctx { -void *lz4hc_comp_mem; -}; -static void *lz4hc_alloc_ctx (void ) {void *ctx;
crypto/lzo-rle.c +0 -4
@@ -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;
crypto/lzo.c +0 -4
@@ -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;
Signature · 1 line
2.49.0
Herbert Xu
maintainerQuoted 17 lines · On Sun, Apr 13, 2025 at 12:32:41AM +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Ard's recent series of patches removing 'comp' implementations left behind a bunch of trivial structs, remove them.
These are:
crypto842_ctx- commit2d985ff0072f("crypto: 842 - drop obsolete 'comp'
implementation")
lz4_ctx- commit33335afe33c9("crypto: lz4 - drop obsolete 'comp'
implementation")
lz4hc_ctx- commitdbae96559eef("crypto: lz4hc - drop obsolete
'comp' implementation")
lzo_ctx- commita3e43a25bad0("crypto: lzo - drop obsolete
'comp' implementation")
lzorle_ctx- commitd32da55c5b0c("crypto: lzo-rle - drop obsolete
'comp' implementation")
Quoted 8 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- crypto/842.c | 4 ---- crypto/lz4.c | 4 ---- crypto/lz4hc.c | 4 ---- crypto/lzo-rle.c | 4 ---- crypto/lzo.c | 4 ---- 5 files changed, 20 deletions(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt