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

2016-04-05 Thread Herbert Xu
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: > // > @@ > identifier f; > expression e; > @@ > void f(...) { > <... > - return > e; > ...>

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

2016-03-19 Thread Amitoj Kaur Chawla
Return statement at the end of a void function is useless. The Coccinelle semantic patch used to make this change is as follows: // @@ identifier f; expression e; @@ void f(...) { <... - return e; ...> } // Signed-off-by: Amitoj Kaur Chawla --- drivers/crypto/n2_core.c | 2 +- 1 file changed,