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;
> ...>
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,