diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-03-18 20:10:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 22:53:19 +0200 |
commit | fee268767ce8bfdb5389b84cd02ba7837b5350d5 (patch) | |
tree | 44f155ddbb1ad3afea2ffe65398591c29845387f /drivers/parport/procfs.c | |
parent | misc: mic: silence uninitialized variable warning (diff) | |
download | linux-fee268767ce8bfdb5389b84cd02ba7837b5350d5.tar.xz linux-fee268767ce8bfdb5389b84cd02ba7837b5350d5.zip |
misc: mic: Remove return statements from void functions
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>
Diffstat (limited to 'drivers/parport/procfs.c')
0 files changed, 0 insertions, 0 deletions