diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-24 22:10:51 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-04-25 13:26:59 +0100 |
commit | e8488d08586e6df7fab3db7881631bb13619311b (patch) | |
tree | 9fdd6451287c1eb0396f5ea43ca638f905f50e70 /drivers/md | |
parent | 7ff14a36159d947872870e7a3e9dcaebc46b23eb (diff) | |
download | linux-e8488d08586e6df7fab3db7881631bb13619311b.tar.gz linux-e8488d08586e6df7fab3db7881631bb13619311b.tar.bz2 linux-e8488d08586e6df7fab3db7881631bb13619311b.zip |
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>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-table.c | 4 |
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) |