From 8a06745b209f354a1d62e12be48a3ee28a6c5df3 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sat, 13 Mar 2004 05:51:06 +0000 Subject: [PATCH] Remove stale (unused) unit variables from if_tun and if_tap softc's. --- sys/net/if_tapvar.h | 2 -- sys/net/if_tun.c | 1 - 2 files changed, 3 deletions(-) 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