Re: [PATCH] crypto: n2 - Remove return statement from void function

From: Herbert Xu
Date: Tue Apr 05 2016 - 08:46:17 EST


On Fri, Mar 18, 2016 at 07:08:48PM +0530, Amitoj Kaur Chawla wrote:
> 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@xxxxxxxxx>

Applied.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt