summaryrefslogtreecommitdiffstats
path: root/net
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
parente110ab94ebc714de57f75f0c7c576dde8cf80944 (diff)
downloadop-kernel-dev-76edc6051e02186fe664ab880447e2d1f96fd884.zip
op-kernel-dev-76edc6051e02186fe664ab880447e2d1f96fd884.tar.gz
[PATCH] ipv4 NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net')
-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 0b4e95f..64ce52b 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)
OpenPOWER on IntegriCloud