From f384d52f350b53b80697eaf2cb4c1f6989dc6f82 Mon Sep 17 00:00:00 2001 From: dyoung Date: Tue, 8 Jan 2008 03:37:45 +0000 Subject: [PATCH] Delete an unnecessary cast. --- sys/net/route.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/net/route.c b/sys/net/route.c index a1cf5603d14d..338d8a596205 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $NetBSD: route.c,v 1.100 2008/01/04 23:26:44 dyoung Exp $ */ +/* $NetBSD: route.c,v 1.101 2008/01/08 03:37:45 dyoung Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -100,7 +100,7 @@ #include "opt_route.h" #include -__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.100 2008/01/04 23:26:44 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.101 2008/01/08 03:37:45 dyoung Exp $"); #include #include @@ -614,7 +614,7 @@ rt_getifa(struct rt_addrinfo *info) */ if (info->rti_ifp == NULL && ifpaddr != NULL && ifpaddr->sa_family == AF_LINK && - (ifa = ifa_ifwithnet((const struct sockaddr *)ifpaddr)) != NULL) + (ifa = ifa_ifwithnet(ifpaddr)) != NULL) info->rti_ifp = ifa->ifa_ifp; if (info->rti_ifa == NULL && ifaaddr != NULL) info->rti_ifa = ifa_ifwithaddr(ifaaddr);