crypto: n2 - Remove return statement from void function
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Fri, 18 Mar 2016 13:38:48 +0000 (19:08 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 5 Apr 2016 12:35:44 +0000 (20:35 +0800)
commit150f6d457cfcb37646b026251d8a584978618726
tree0be4a3742086c7027bd0d152e76a79abb4f45e79
parentdc1d9dee3042d4c507bd7eb557a06918a1f09ae0
crypto: n2 - Remove return statement from void function

Return statement at the end of a void function is useless.

The Coccinelle semantic patch used to make this change is as follows:
//<smpl>
@@
identifier f;
expression e;
@@
void f(...) {
<...
- return
  e;
...>
}
//</smpl>

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/n2_core.c