summaryrefslogtreecommitdiff
path: root/sys/net/if_vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r--sys/net/if_vlan.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 3fbcb96b89c..fc1fe501f17 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vlan.c,v 1.73 2008/05/07 13:45:35 dlg Exp $ */
+/* $OpenBSD: if_vlan.c,v 1.74 2008/09/02 17:35:16 chl Exp $ */
/*
* Copyright 1998 Massachusetts Institute of Technology
@@ -422,7 +422,6 @@ vlan_unconfig(struct ifnet *ifp)
struct sockaddr_dl *sdl;
struct ifvlan *ifv;
struct ifnet *p;
- struct ifreq *ifr, *ifr_p;
int s;
ifv = ifp->if_softc;
@@ -430,9 +429,6 @@ vlan_unconfig(struct ifnet *ifp)
if (p == NULL)
return 0;
- ifr = (struct ifreq *)&ifp->if_data;
- ifr_p = (struct ifreq *)&ifv->ifv_p->if_data;
-
s = splnet();
LIST_REMOVE(ifv, ifv_list);
if (ifv->lh_cookie != NULL)