summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-01-12 11:37:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-01-12 11:37:09 +0000
commitf5211163c7591cb2a876b353f63cbbf655249840 (patch)
tree8ea9a43758ee81346b9bb11bf8f864e7b44b8a52
parent562d384834c5da00d2082f56c2fd19c182e78a34 (diff)
delete more left-over stuff from vether development
-rw-r--r--sys/net/if_vether.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/net/if_vether.c b/sys/net/if_vether.c
index 23340831aac..03574823710 100644
--- a/sys/net/if_vether.c
+++ b/sys/net/if_vether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vether.c,v 1.10 2010/01/12 11:31:23 deraadt Exp $ */
+/* $OpenBSD: if_vether.c,v 1.11 2010/01/12 11:37:08 deraadt Exp $ */
/*
* Copyright (c) 2009 Theo de Raadt
@@ -27,16 +27,10 @@
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_media.h>
-#include <net/if_types.h>
-
-#include <net/if_types.h>
-#include <net/netisr.h>
-#include <net/route.h>
#ifdef INET
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#include <netinet/in_var.h>
#endif
void vetherattach(int);
@@ -57,7 +51,6 @@ LIST_HEAD(, vether_softc) vether_list;
struct if_clone vether_cloner =
IF_CLONE_INITIALIZER("vether", vether_clone_create, vether_clone_destroy);
-
int
vether_media_change(struct ifnet *ifp)
{
@@ -163,7 +156,6 @@ vetherioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
struct ifreq *ifr = (struct ifreq *)data;
int error = 0, link_state;
- ifr = (struct ifreq *)data;
switch (cmd) {
case SIOCSIFADDR:
ifp->if_flags |= IFF_UP;