summaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-08-28 06:58:58 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-08-28 06:58:58 +0000
commitcaf8e1b30bbb88042d3bceba0386f86921a3834c (patch)
treee87620f227c60a3c2a16968b121ce49152be84fe /sys/net/if.c
parent5aba481ed40f21a901633ca400c5c25366e3b549 (diff)
Remove unused argument from *rtrequest()
ok krw@, mikeb@
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 3fc850a0b06..f27fe20cac7 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.262 2013/08/20 09:14:22 mpi Exp $ */
+/* $OpenBSD: if.c,v 1.263 2013/08/28 06:58:57 mpi Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -985,7 +985,7 @@ ifaof_ifpforaddr(struct sockaddr *addr, struct ifnet *ifp)
* This should be moved to /sys/net/link.c eventually.
*/
void
-link_rtrequest(int cmd, struct rtentry *rt, struct rt_addrinfo *info)
+link_rtrequest(int cmd, struct rtentry *rt)
{
struct ifaddr *ifa;
struct sockaddr *dst;
@@ -999,7 +999,7 @@ link_rtrequest(int cmd, struct rtentry *rt, struct rt_addrinfo *info)
ifafree(rt->rt_ifa);
rt->rt_ifa = ifa;
if (ifa->ifa_rtrequest && ifa->ifa_rtrequest != link_rtrequest)
- ifa->ifa_rtrequest(cmd, rt, info);
+ ifa->ifa_rtrequest(cmd, rt);
}
}