diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-06-16 14:29:53 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-06-25 15:25:22 -0400 |
commit | 326dbde2e0a77be107c9ddd04899fd9ee27ffc94 (patch) | |
tree | f9f2fd6b3ba11e30b99d756f5dd2b7a0208381ec /drivers/md | |
parent | 611c3e168b1c5b6cf81e6deb8f6b4eb83f6b53fd (diff) | |
download | linux-326dbde2e0a77be107c9ddd04899fd9ee27ffc94.tar.bz2 |
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.c | 1 |
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)) { |