dm ps io affinity: remove redundant continue statement
authorColin Ian King <colin.king@canonical.com>
Wed, 16 Jun 2021 13:29:53 +0000 (14:29 +0100)
committerMike Snitzer <snitzer@redhat.com>
Fri, 25 Jun 2021 19:25:22 +0000 (15:25 -0400)
The continue statement at the end of a for-loop has no effect,
remove it.

Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-ps-io-affinity.c

index 077655c..cb8e83b 100644 (file)
@@ -91,7 +91,6 @@ static int ioa_add_path(struct path_selector *ps, struct dm_path *path,
                cpumask_set_cpu(cpu, s->path_mask);
                s->path_map[cpu] = pi;
                refcount_inc(&pi->refcount);
-               continue;
        }
 
        if (refcount_dec_and_test(&pi->refcount)) {