From: Al Viro Date: Wed, 1 Feb 2006 10:54:35 +0000 (-0500) Subject: [PATCH] ipv4 NULL noise removal X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=76edc6051e02186fe664ab880447e2d1f96fd884;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] ipv4 NULL noise removal Signed-off-by: Al Viro --- diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index 0b4e95f93da..64ce52bf048 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)