提交 813923b1 编写于 作者: A Amitoj Kaur Chawla 提交者: Mike Snitzer

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: NAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 cfae7529
......@@ -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);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册