Commit b03892c2 authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Herbert Xu
Browse files

crypto: deadcode structs from 'comp' removal



Ard's recent series of patches removing 'comp' implementations
left behind a bunch of trivial structs, remove them.

These are:
  crypto842_ctx - commit 2d985ff0 ("crypto: 842 - drop obsolete 'comp'
implementation")
  lz4_ctx       - commit 33335afe ("crypto: lz4 - drop obsolete 'comp'
implementation")
  lz4hc_ctx     - commit dbae9655 ("crypto: lz4hc - drop obsolete
'comp' implementation")
  lzo_ctx       - commit a3e43a25 ("crypto: lzo - drop obsolete
'comp' implementation")
  lzorle_ctx    - commit d32da55c ("crypto: lzo-rle - drop obsolete
'comp' implementation")

Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 0a137674
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;
+0 −4
Original line number Diff line number Diff line
@@ -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;
+0 −4
Original line number Diff line number Diff line
@@ -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;
+0 −4
Original line number Diff line number Diff line
@@ -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;
+0 −4
Original line number Diff line number Diff line
@@ -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;