diff --git a/sys/net/if_tapvar.h b/sys/net/if_tapvar.h index ae6c3cd442e1..5b7312f02dc5 100644 --- a/sys/net/if_tapvar.h +++ b/sys/net/if_tapvar.h @@ -44,8 +44,6 @@ struct tap_softc { struct arpcom arpcom; /* ethernet common data */ #define tap_if arpcom.ac_if - struct resource *tap_unit; /* unit */ - u_short tap_flags; /* misc flags */ #define TAP_OPEN (1 << 0) #define TAP_INITED (1 << 1) diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 3bedf1c130a9..78aa6548b310 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -57,7 +57,6 @@ struct tun_softc { TAILQ_ENTRY(tun_softc) tun_list; - int tun_unit; dev_t tun_dev; u_short tun_flags; /* misc flags */ #define TUN_OPEN 0x0001