diff options
Diffstat (limited to 'drivers/md/dm-service-time.c')
-rw-r--r-- | drivers/md/dm-service-time.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/md/dm-service-time.c b/drivers/md/dm-service-time.c index d09bcbe3655d..7b8642045c55 100644 --- a/drivers/md/dm-service-time.c +++ b/drivers/md/dm-service-time.c @@ -271,8 +271,7 @@ static int st_compare_load(struct path_info *pi1, struct path_info *pi2, return pi2->relative_throughput - pi1->relative_throughput; } -static struct dm_path *st_select_path(struct path_selector *ps, - unsigned *repeat_count, size_t nr_bytes) +static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) { struct selector *s = ps->context; struct path_info *pi = NULL, *best = NULL; @@ -293,8 +292,6 @@ static struct dm_path *st_select_path(struct path_selector *ps, if (!best) goto out; - *repeat_count = best->repeat_count; - ret = best->path; out: spin_unlock_irqrestore(&s->lock, flags); |