summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-03-13 05:51:06 +0000
committerrwatson <rwatson@FreeBSD.org>2004-03-13 05:51:06 +0000
commit8a06745b209f354a1d62e12be48a3ee28a6c5df3 (patch)
treeec21554e108e627485c81274b17e0535e0f70ef4 /sys/net
parentb39582afd3c1b4ce1d291e5a3fcc625176372d14 (diff)
downloadFreeBSD-src-8a06745b209f354a1d62e12be48a3ee28a6c5df3.zip
FreeBSD-src-8a06745b209f354a1d62e12be48a3ee28a6c5df3.tar.gz
Remove stale (unused) unit variables from if_tun and if_tap softc's.
Diffstat (limited to 'sys/net')
-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