summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vmx.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-14 17:54:58 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-14 17:54:58 +0000
commitdfc6f41febc6e43836c677d09528266b0613ed64 (patch)
tree1015d77097d04c9085e974bccbb15886560289a7 /sys/dev/pci/if_vmx.c
parentef42cc92b1d349fd37b6d9b284a412667bd88fa1 (diff)
Do not include <net/if_vlan_var.h> when it's not necessary.
Because of the VLAN hacks in mpw(4) this file still contains the definition of "struct ifvlan" which depends on <sys/refcnt.h> which in turns pull <sys/atomic.h>...
Diffstat (limited to 'sys/dev/pci/if_vmx.c')
-rw-r--r--sys/dev/pci/if_vmx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_vmx.c b/sys/dev/pci/if_vmx.c
index aaec622ceaf..0a951a130d8 100644
--- a/sys/dev/pci/if_vmx.c
+++ b/sys/dev/pci/if_vmx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vmx.c,v 1.34 2015/10/25 13:04:28 mpi Exp $ */
+/* $OpenBSD: if_vmx.c,v 1.35 2015/11/14 17:54:57 mpi Exp $ */
/*
* Copyright (c) 2013 Tsubai Masanari
@@ -38,8 +38,6 @@
#include <netinet/tcp.h>
#include <netinet/udp.h>
-#include <net/if_vlan_var.h>
-
#include <machine/bus.h>
#include <dev/pci/if_vmxreg.h>