Commit 813923b1 authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Mike Snitzer
Browse files

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:
identifier f;
expression e;
void f(...) {
- return
Signed-off-by: default avatarAmitoj Kaur Chawla <>
Signed-off-by: default avatarMike Snitzer <>
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment