projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
611c3e1
)
dm ps io affinity: remove redundant continue statement
author
Colin Ian King
<colin.king@canonical.com>
Wed, 16 Jun 2021 13:29:53 +0000
(14:29 +0100)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/drivers/md/dm-ps-io-affinity.c
b/drivers/md/dm-ps-io-affinity.c
index
077655c
..
cb8e83b
100644
(file)
--- 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)) {