diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-10 02:41:27 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-11 06:47:51 -0400 |
commit | 02e10b90cd478bda81b4644102b0009bcd1d14ab (patch) | |
tree | bc14fc08fec6a94b4967306b215f9d92857cbc47 /net/ipv6/sit.c | |
parent | aba6096b21e151bc55da74605fe77b92cfcccb12 (diff) |
[IPV6] SIT: Sparse: Use NULL pointer instead of 0.
| net/ipv6/sit.c:382:42: warning: Using plain integer as NULL pointer
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r-- | net/ipv6/sit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index cc16fe07bbff..91e46fbe6ce2 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c | |||
@@ -379,7 +379,7 @@ static void ipip6_tunnel_uninit(struct net_device *dev) | |||
379 | dev_put(dev); | 379 | dev_put(dev); |
380 | } else { | 380 | } else { |
381 | ipip6_tunnel_unlink(netdev_priv(dev)); | 381 | ipip6_tunnel_unlink(netdev_priv(dev)); |
382 | ipip6_tunnel_del_prl(netdev_priv(dev), 0); | 382 | ipip6_tunnel_del_prl(netdev_priv(dev), NULL); |
383 | dev_put(dev); | 383 | dev_put(dev); |
384 | } | 384 | } |
385 | } | 385 | } |