[PATCH] ipv4 NULL noise removal
Al Viro [Wed, 1 Feb 2006 10:54:35 +0000 (05:54 -0500)]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

net/ipv4/igmp.c

index 0b4e95f..64ce52b 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)