Skip to content

Commit 326dbde

Browse files
Colin Ian Kingsnitm
authored andcommitted
dm ps io affinity: remove redundant continue statement
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>
1 parent 611c3e1 commit 326dbde

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/md/dm-ps-io-affinity.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ static int ioa_add_path(struct path_selector *ps, struct dm_path *path,
9191
cpumask_set_cpu(cpu, s->path_mask);
9292
s->path_map[cpu] = pi;
9393
refcount_inc(&pi->refcount);
94-
continue;
9594
}
9695

9796
if (refcount_dec_and_test(&pi->refcount)) {

0 commit comments

Comments
 (0)