aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/igmp.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-01 05:54:35 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-07 20:57:37 -0500
commit76edc6051e02186fe664ab880447e2d1f96fd884 (patch)
tree988170b801f03e7701eb0ceaa856891934539101 /net/ipv4/igmp.c
parent[PATCH] fix __user annotations in fs/select.c (diff)
downloadlinux-dev-76edc6051e02186fe664ab880447e2d1f96fd884.tar.xz
linux-dev-76edc6051e02186fe664ab880447e2d1f96fd884.zip
[PATCH] ipv4 NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/ipv4/igmp.c')
-rw-r--r--net/ipv4/igmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c
index 0b4e95f93dad..64ce52bf0485 100644
--- a/net/ipv4/igmp.c
+++ b/net/ipv4/igmp.c
@@ -1578,7 +1578,7 @@ static int sf_setstate(struct ip_mc_list *pmc)
new_in = psf->sf_count[MCAST_INCLUDE] != 0;
if (new_in) {
if (!psf->sf_oldin) {
- struct ip_sf_list *prev = 0;
+ struct ip_sf_list *prev = NULL;
for (dpsf=pmc->tomb; dpsf; dpsf=dpsf->sf_next) {
if (dpsf->sf_inaddr == psf->sf_inaddr)