summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 02ad6c6..203a75f 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -192,7 +192,6 @@ ifnet_setbyindex(u_short idx, struct ifnet *ifp)
struct ifaddr *
ifaddr_byindex(u_short idx)
{
- INIT_VNET_NET(curvnet);
struct ifaddr *ifa;
IFNET_RLOCK();
OpenPOWER on IntegriCloud