diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 5110d63e109..e8aaf1f1113 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -237,18 +237,10 @@ udp_destroy(void *unused __unused) { in_pcbinfo_destroy(&V_udbinfo); + in_pcbinfo_destroy(&V_ulitecbinfo); uma_zdestroy(V_udpcb_zone); } VNET_SYSUNINIT(udp, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH, udp_destroy, NULL); - -static void -udplite_destroy(void *unused __unused) -{ - - in_pcbinfo_destroy(&V_ulitecbinfo); -} -VNET_SYSUNINIT(udplite, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH, udplite_destroy, - NULL); #endif #ifdef INET