diff options
| author | Amitoj Kaur Chawla <[email protected]> | 2016-04-11 11:37:08 +0530 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2016-05-05 15:25:50 -0400 |
| commit | 813923b1a21b73f3068d89b817a86bea5371108c (patch) | |
| tree | 4a976ba38bb6260f73315ed4afab1651210bac1d /scripts/patch-kernel | |
| parent | cfae7529b525c3fa86deb71cf2036659240a865e (diff) | |
dm thin: Remove return statement from void function
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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions