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 <amitoj1606@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
Amitoj Kaur Chawla 2016-04-11 11:37:08 +05:30 committed by Mike Snitzer
parent cfae7529b5
commit 813923b1a2

View File

@ -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);
}
/*