projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: replace continue with break to reduce unnecessary loop in xxx_xmarksources
[deliverable/linux.git]
/
net
/
ipv4
/
igmp.c
diff --git
a/net/ipv4/igmp.c
b/net/ipv4/igmp.c
index 450e5d21ed2af271574874479bd0c0d341bf6b38..e9b90a8ca55a7ced403e7afbc98bada52b8b19de 100644
(file)
--- a/
net/ipv4/igmp.c
+++ b/
net/ipv4/igmp.c
@@
-775,7
+775,7
@@
static int igmp_xmarksources(struct ip_mc_list *pmc, int nsrcs, __be32 *srcs)
if (psf->sf_count[MCAST_INCLUDE] ||
pmc->sfcount[MCAST_EXCLUDE] !=
psf->sf_count[MCAST_EXCLUDE])
-
continue
;
+
break
;
if (srcs[i] == psf->sf_inaddr) {
scount++;
break;
This page took
0.025426 seconds
and
5
git commands to generate.