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 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html