mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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]>
This commit is contained in:
parent
cfae7529b5
commit
813923b1a2
1 changed files with 1 additions and 1 deletions
|
|
@ -632,7 +632,7 @@ static void error_retry_list(struct pool *pool)
|
|||
{
|
||||
int error = get_pool_io_error_code(pool);
|
||||
|
||||
return error_retry_list_with_code(pool, error);
|
||||
error_retry_list_with_code(pool, error);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue