summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_tapvar.h2
-rw-r--r--sys/net/if_tun.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/net/if_tapvar.h b/sys/net/if_tapvar.h
index ae6c3cd..5b7312f 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 3bedf1c..78aa654 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
OpenPOWER on IntegriCloud