mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
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: Adrian Bunk <bunk@kernel.org> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
This commit is contained in:
parent
7ff14a3615
commit
e8488d0858
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user