summaryrefslogtreecommitdiff
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-11 11:25:17 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-11 11:25:17 +0000
commit65344a7988ce2ee6d723e31b74015fc25ed78b15 (patch)
tree48c95e1140b9838c4b8a027795703dc3f3759da6 /sys/net/route.c
parentf810b5a7c857b4f3e39ad610ee4824edc7984846 (diff)
Remove an XXX that no longer makes sense, rt_ifp is now always the same
as rt_ifa->ifa_ifp.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 063dd040002..15ae1d86c40 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.269 2015/11/09 10:26:26 mpi Exp $ */
+/* $OpenBSD: route.c,v 1.270 2015/11/11 11:25:16 mpi Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -1667,11 +1667,6 @@ rt_if_remove_rtdelete(struct rtentry *rt, void *vifp, u_int id)
return (EAGAIN);
}
- /*
- * XXX There should be no need to check for rt_ifa belonging to this
- * interface, because then rt_ifp is set, right?
- */
-
return (0);
}