staging: lustre: remove RETURN macro
[deliverable/linux.git] / drivers / staging / lustre / lustre / obdclass / capa.c
index 60eb94d48ea8ce87c7772dc7120d3fe7bdee8e72..fe3fa8ec9f24c8530e3c75f5f258720e416c6637 100644 (file)
@@ -282,7 +282,7 @@ int capa_encrypt_id(__u32 *d, __u32 *s, __u8 *key, int keylen)
        tfm = ll_crypto_alloc_blkcipher(alg, 0, 0 );
        if (IS_ERR(tfm)) {
                CERROR("failed to load transform for aes\n");
-               RETURN(PTR_ERR(tfm));
+               return PTR_ERR(tfm);
        }
 
        min = ll_crypto_tfm_alg_min_keysize(tfm);
@@ -311,8 +311,6 @@ int capa_encrypt_id(__u32 *d, __u32 *s, __u8 *key, int keylen)
                GOTO(out, rc);
        }
 
-       EXIT;
-
 out:
        ll_crypto_free_blkcipher(tfm);
        return rc;
@@ -334,7 +332,7 @@ int capa_decrypt_id(__u32 *d, __u32 *s, __u8 *key, int keylen)
        tfm = ll_crypto_alloc_blkcipher(alg, 0, 0 );
        if (IS_ERR(tfm)) {
                CERROR("failed to load transform for aes\n");
-               RETURN(PTR_ERR(tfm));
+               return PTR_ERR(tfm);
        }
 
        min = ll_crypto_tfm_alg_min_keysize(tfm);
@@ -364,8 +362,6 @@ int capa_decrypt_id(__u32 *d, __u32 *s, __u8 *key, int keylen)
                GOTO(out, rc);
        }
 
-       EXIT;
-
 out:
        ll_crypto_free_blkcipher(tfm);
        return rc;
This page took 0.026492 seconds and 5 git commands to generate.