diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-24 17:10:51 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-04-25 08:26:59 -0400 |
commit | e8488d08586e6df7fab3db7881631bb13619311b (patch) | |
tree | 9fdd6451287c1eb0396f5ea43ca638f905f50e70 /drivers/md/dm-table.c | |
parent | 7ff14a36159d947872870e7a3e9dcaebc46b23eb (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>
Diffstat (limited to 'drivers/md/dm-table.c')
-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) | |||
954 | if (!t) | 954 | if (!t) |
955 | return; | 955 | return; |
956 | 956 | ||
957 | return suspend_targets(t, 0); | 957 | suspend_targets(t, 0); |
958 | } | 958 | } |
959 | 959 | ||
960 | void dm_table_postsuspend_targets(struct dm_table *t) | 960 | void dm_table_postsuspend_targets(struct dm_table *t) |
@@ -962,7 +962,7 @@ void dm_table_postsuspend_targets(struct dm_table *t) | |||
962 | if (!t) | 962 | if (!t) |
963 | return; | 963 | return; |
964 | 964 | ||
965 | return suspend_targets(t, 1); | 965 | suspend_targets(t, 1); |
966 | } | 966 | } |
967 | 967 | ||
968 | int dm_table_resume_targets(struct dm_table *t) | 968 | int dm_table_resume_targets(struct dm_table *t) |