2014-12-05 06:00:19

by Joshua I. James

[permalink] [raw]
Subject: [PATCH] staging: crypto: fixed style erro in algapi.c

From: "Joshua I. James" <[email protected]>

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 <[email protected]>
---
crypto/algapi.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/crypto/algapi.c b/crypto/algapi.c
index e8d3a7d..512730d 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);
}

--
1.9.1