summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-24 22:10:51 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-04-25 13:26:59 +0100
commite8488d08586e6df7fab3db7881631bb13619311b (patch)
tree9fdd6451287c1eb0396f5ea43ca638f905f50e70
parent7ff14a36159d947872870e7a3e9dcaebc46b23eb (diff)
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>
-rw-r--r--drivers/md/dm-table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c
index e75b1437b58b..fc261c81d736 100644
--- a/drivers/md/dm-table.c
+++ b/drivers/md/dm-table.c
@@ -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)