net: replace continue with break to reduce unnecessary loop in xxx_xmarksources
authorRongQing.Li <roy.qing.li@gmail.com>
Thu, 5 Apr 2012 09:36:29 +0000 (17:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Apr 2012 09:42:18 +0000 (05:42 -0400)
commitce713ee5a10f3a171df94b0d501034aab2388c16
treefc51b89dc562d3b49bc6db964f405fda0575c03d
parent51c56b004e2c9a46207bb8a116589c2f84b92e5d
net: replace continue with break to reduce unnecessary loop in xxx_xmarksources

The conditional which decides to skip inactive filters does not
change with the change of loop index, so it is unnecessary to
check them many times.

Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c
net/ipv6/mcast.c