Skip to content

Commit

Permalink
[IPV6] SIT: Sparse: Use NULL pointer instead of 0.
Browse files Browse the repository at this point in the history
| net/ipv6/sit.c:382:42: warning: Using plain integer as NULL pointer

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
  • Loading branch information
YOSHIFUJI Hideaki committed Apr 11, 2008
1 parent aba6096 commit 02e10b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/sit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 02e10b9

Please sign in to comment.