[IPV4]: sk parameter is unused in ipv4_dst_blackhole.

Just remove it.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Denis V. Lunev 2008-03-22 17:42:37 -07:00 коммит произвёл David S. Miller
Родитель 0098b7273e
Коммит ce25999078
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2520,7 +2520,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = {
};
static int ipv4_dst_blackhole(struct rtable **rp, struct flowi *flp, struct sock *sk)
static int ipv4_dst_blackhole(struct rtable **rp, struct flowi *flp)
{
struct rtable *ort = *rp;
struct rtable *rt = (struct rtable *)
@ -2580,7 +2580,7 @@ int ip_route_output_flow(struct net *net, struct rtable **rp, struct flowi *flp,
err = __xfrm_lookup((struct dst_entry **)rp, flp, sk,
flags ? XFRM_LOOKUP_WAIT : 0);
if (err == -EREMOTE)
err = ipv4_dst_blackhole(rp, flp, sk);
err = ipv4_dst_blackhole(rp, flp);
return err;
}