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 <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
1 parent 611c3e1 commit 326dbde

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)