Return statements at the end of void functions are 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| mic_boot.c | ||
| mic_debugfs.c | ||
| mic_device.h | ||
| mic_intr.c | ||
| mic_intr.h | ||
| mic_main.c | ||
| mic_smpt.c | ||
| mic_smpt.h | ||
| mic_x100.c | ||
| mic_x100.h | ||