Commit e8488d08 authored by Adrian Bunk's avatar Adrian Bunk Committed by Alasdair G Kergon

dm table: drop void suspend_targets return

void returning functions returned the return value of another void
returning function...

Spotted by sparse.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent 7ff14a36
......@@ -954,7 +954,7 @@ void dm_table_presuspend_targets(struct dm_table *t)
if (!t)
return;
return suspend_targets(t, 0);
suspend_targets(t, 0);
}
void dm_table_postsuspend_targets(struct dm_table *t)
......@@ -962,7 +962,7 @@ void dm_table_postsuspend_targets(struct dm_table *t)
if (!t)
return;
return suspend_targets(t, 1);
suspend_targets(t, 1);
}
int dm_table_resume_targets(struct dm_table *t)
......
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