ipv6: Shrink udp_v6_mcast_next() to one socket variable
authorSven Wegener <sven.wegener@stealer.net>
Thu, 29 May 2014 20:27:06 +0000 (20:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 23:23:08 +0000 (16:23 -0700)
commit9e89fd8b7db71038fd9f70f34e210963fa8fc980
tree0fc40f6dc1653595f1dfcd56c78528e74779491a
parentf666f87b9423fb534d2116206ace04495080f2b5
ipv6: Shrink udp_v6_mcast_next() to one socket variable

To avoid the confusion of having two variables, shrink the function to
only use the parameter variable for looping.

Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c