X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fipv4%2Figmp.c;h=64ce52bf0485a368f016e1de23103e19db004d64;hb=0b1fc9b86f49e1e73e473e06a16556ca0dce53ae;hp=f70ba622c856489b6382daf79ccf32a002ca8a22;hpb=d5bee775137c56ed993f1b3c9d66c268b3525d7d;p=powerpc.git diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index f70ba622c8..64ce52bf04 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c @@ -970,6 +970,7 @@ int igmp_rcv(struct sk_buff *skb) case IGMP_MTRACE_RESP: break; default: + break; } drop: @@ -1577,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)