Skip to content
Snippets Groups Projects
Commit c9af70fb authored by Richard Hartmann's avatar Richard Hartmann Committed by Herbert Xu
Browse files

crypto: crypto_null - Fix checkpatch errors


Signed-off-by: default avatarRichard Hartmann <richih.mailinglist@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent d150975b
No related branches found
No related tags found
No related merge requests found
/*
/*
* Cryptographic API.
*
* Null algorithms, aka Much Ado About Nothing.
*
* These are needed for IPsec, and may be useful in general for
* testing & debugging.
*
*
* The null cipher is compliant with RFC2410.
*
* Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
......@@ -163,7 +163,7 @@ MODULE_ALIAS("cipher_null");
static int __init crypto_null_mod_init(void)
{
int ret = 0;
ret = crypto_register_alg(&cipher_null);
if (ret < 0)
goto out;
......@@ -180,7 +180,7 @@ static int __init crypto_null_mod_init(void)
if (ret < 0)
goto out_unregister_digest;
out:
out:
return ret;
out_unregister_digest:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment