]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/compress.c
[NETFILTER]: nf_conntrack: fix header inclusions for helpers
[linux-2.6-omap-h63xx.git] / crypto / compress.c
index c12fc0c41dac74152dbdf226b4f7046bef5500e6..eca182aa33808dd1e54964ff838a91287d2081ea 100644 (file)
@@ -41,21 +41,14 @@ int crypto_init_compress_flags(struct crypto_tfm *tfm, u32 flags)
 
 int crypto_init_compress_ops(struct crypto_tfm *tfm)
 {
-       int ret = 0;
        struct compress_tfm *ops = &tfm->crt_compress;
-       
-       ret = tfm->__crt_alg->cra_compress.coa_init(crypto_tfm_ctx(tfm));
-       if (ret)
-               goto out;
 
        ops->cot_compress = crypto_compress;
        ops->cot_decompress = crypto_decompress;
        
-out:
-       return ret;
+       return 0;
 }
 
 void crypto_exit_compress_ops(struct crypto_tfm *tfm)
 {
-       tfm->__crt_alg->cra_compress.coa_exit(crypto_tfm_ctx(tfm));
 }