summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-16 15:29:53 +0200
committerMike Snitzer <snitzer@redhat.com>2021-06-25 21:25:22 +0200
commit326dbde2e0a77be107c9ddd04899fd9ee27ffc94 (patch)
treef9f2fd6b3ba11e30b99d756f5dd2b7a0208381ec /drivers/md
parentdm writecache: add optional "metadata_only" parameter (diff)
downloadlinux-326dbde2e0a77be107c9ddd04899fd9ee27ffc94.tar.xz
linux-326dbde2e0a77be107c9ddd04899fd9ee27ffc94.zip
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>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-ps-io-affinity.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm-ps-io-affinity.c b/drivers/md/dm-ps-io-affinity.c
index 077655cd4fae..cb8e83bfb1a7 100644
--- a/drivers/md/dm-ps-io-affinity.c
+++ b/drivers/md/dm-ps-io-affinity.c
@@ -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)) {