Merge tag 'pwm/for-4.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[deliverable/linux.git] / drivers / md / dm-queue-length.c
index aeea3b7f3d5e0128c8b39c74c329ae906d9fe1e8..23f1786417946e9ee8375a051544e1024db1f7d1 100644 (file)
@@ -184,8 +184,7 @@ static int ql_reinstate_path(struct path_selector *ps, struct dm_path *path)
 /*
  * Select a path having the minimum number of in-flight I/Os
  */
-static struct dm_path *ql_select_path(struct path_selector *ps,
-                                     unsigned *repeat_count, size_t nr_bytes)
+static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes)
 {
        struct selector *s = ps->context;
        struct path_info *pi = NULL, *best = NULL;
@@ -211,8 +210,6 @@ static struct dm_path *ql_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);
This page took 0.032113 seconds and 5 git commands to generate.