[PATCH] ipv4 NULL noise removal
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 Feb 2006 10:54:35 +0000 (05:54 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 01:57:37 +0000 (20:57 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/ipv4/igmp.c

index 0b4e95f93dad62cbfed26297ada2fbe86cf07163..64ce52bf0485a368f016e1de23103e19db004d64 100644 (file)
@@ -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)