]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IPV6] SIT: Sparse: Use NULL pointer instead of 0.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 10 Apr 2008 06:41:27 +0000 (15:41 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Fri, 11 Apr 2008 10:47:51 +0000 (19:47 +0900)
| net/ipv6/sit.c:382:42: warning: Using plain integer as NULL pointer

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv6/sit.c

index cc16fe07bbff68f6485c91b32fb19bb79184feb7..91e46fbe6ce2e0ec0722ad2af6a91858721dd15b 100644 (file)
@@ -379,7 +379,7 @@ static void ipip6_tunnel_uninit(struct net_device *dev)
                dev_put(dev);
        } else {
                ipip6_tunnel_unlink(netdev_priv(dev));
-               ipip6_tunnel_del_prl(netdev_priv(dev), 0);
+               ipip6_tunnel_del_prl(netdev_priv(dev), NULL);
                dev_put(dev);
        }
 }