aboutsummaryrefslogtreecommitdiff
path: root/include/linux/zcomp.h
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2016-07-26 15:22:54 -0700
committerMister Oyster <oysterized@gmail.com>2017-09-25 22:00:59 +0200
commit004ba0ea38c31b4d12e757b5d3678e62805aaf9e (patch)
treefedbcc29bc69a95f31c05e6f695535893e350f49 /include/linux/zcomp.h
parent32be7821185d5b98e0e4d2cc2b15ac50141f8e37 (diff)
zram: delete custom lzo/lz4
Remove lzo/lz4 backends, we use crypto API now. [sergey.senozhatsky@gmail.com: zram-delete-custom-lzo-lz4-v3] Link: http://lkml.kernel.org/r/20160604024902.11778-6-sergey.senozhatsky@gmail.com Link: http://lkml.kernel.org/r/20160531122017.2878-7-sergey.senozhatsky@gmail.com Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/zcomp.h')
-rw-r--r--include/linux/zcomp.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/zcomp.h b/include/linux/zcomp.h
index c914ab797..478cac2ed 100644
--- a/include/linux/zcomp.h
+++ b/include/linux/zcomp.h
@@ -16,24 +16,9 @@ struct zcomp_strm {
struct crypto_comp *tfm;
};
-/* static compression backend */
-struct zcomp_backend {
- int (*compress)(const unsigned char *src, unsigned char *dst,
- size_t *dst_len, void *private);
-
- int (*decompress)(const unsigned char *src, size_t src_len,
- unsigned char *dst);
-
- void *(*create)(gfp_t flags);
- void (*destroy)(void *private);
-
- const char *name;
-};
-
/* dynamic per-device compression frontend */
struct zcomp {
struct zcomp_strm * __percpu *stream;
- struct zcomp_backend *backend;
struct notifier_block notifier;
const char *name;