From: kn Date: Tue, 30 Aug 2022 18:23:58 +0000 (+0000) Subject: Remove struct ifnet's unused if_switchport member X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=290b2a0dcc8af4b7821f65f7fa3bd11d7e7f9c6d;p=openbsd Remove struct ifnet's unused if_switchport member This is a switch(4) left-over. Even though it is defined under _KERNEL, a few ports do define it and include , so this removal warrants a REVISION bump for all potential ports consumers (once ports bulk machines run on a snapshot containing this commit). OK mvs --- diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 394398c5c5c..443a71eb7eb 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_var.h,v 1.115 2022/08/29 07:51:45 bluhm Exp $ */ +/* $OpenBSD: if_var.h,v 1.116 2022/08/30 18:23:58 kn Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -133,7 +133,6 @@ struct ifnet { /* and the entries */ int if_pcount; /* [N] # of promiscuous listeners */ unsigned int if_bridgeidx; /* [K] used by bridge ports */ caddr_t if_bpf; /* packet filter structure */ - caddr_t if_switchport; /* used by switch ports */ caddr_t if_mcast; /* used by multicast code */ caddr_t if_mcast6; /* used by IPv6 multicast code */ caddr_t if_pf_kif; /* pf interface abstraction */