Skip to content

Commit

Permalink
crypto: algapi - Fix checkpatch errors
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Hartmann <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
RichiH authored and herbertx committed Feb 16, 2010
1 parent 0d8fb0a commit 5357c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/algapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg)
list_add(&alg->cra_list, &crypto_alg_list);
list_add(&larval->alg.cra_list, &crypto_alg_list);

out:
out:
return larval;

free_larval:
Expand Down Expand Up @@ -388,7 +388,7 @@ int crypto_unregister_alg(struct crypto_alg *alg)
{
int ret;
LIST_HEAD(list);

down_write(&crypto_alg_sem);
ret = crypto_remove_alg(alg, &list);
up_write(&crypto_alg_sem);
Expand Down

0 comments on commit 5357c6c

Please sign in to comment.