summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorJoshua I. James <joshua@cybercrimetech.com>2014-12-05 15:00:10 +0900
committerHerbert Xu <herbert@gondor.apana.org.au>2014-12-22 23:02:37 +1100
commit4cf5c4753707baf7b5a1c017cf03e12836547a30 (patch)
treef287884524fc5dd1687209c4dc4efef9f370ba87 /crypto/algapi.c
parent509979eda037e8973364894dacccca3da9f162ed (diff)
downloadlinux-crypto-4cf5c4753707baf7b5a1c017cf03e12836547a30.tar.gz
linux-crypto-4cf5c4753707baf7b5a1c017cf03e12836547a30.zip
crypto: api - fixed style erro in algapi.c
Fixed style error identified by checkpatch. WARNING: Missing a blank line after declarations + int err = crypto_remove_alg(&inst->alg, &users); + BUG_ON(err); Signed-off-by: Joshua I. James <joshua@cybercrimetech.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
-rw-r--r--crypto/algapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c
index 71a8143e..83b04e08 100644
--- a/crypto/algapi.c
+++ b/crypto/algapi.c
@@ -473,6 +473,7 @@ void crypto_unregister_template(struct crypto_template *tmpl)
list = &tmpl->instances;
hlist_for_each_entry(inst, list, list) {
int err = crypto_remove_alg(&inst->alg, &users);
+
BUG_ON(err);
}