summaryrefslogtreecommitdiffstats
path: root/sys/dev/ntb
diff options
context:
space:
mode:
authorskra <skra@FreeBSD.org>2016-02-22 09:02:20 +0000
committerskra <skra@FreeBSD.org>2016-02-22 09:02:20 +0000
commitf4b6499ab587e531fac6a6bd8273de3a755eed65 (patch)
tree556a460f8cc515163546f02c872c1deb001fb20c /sys/dev/ntb
parentf934858b00eda7d7460269d213081d11998103d4 (diff)
downloadFreeBSD-src-f4b6499ab587e531fac6a6bd8273de3a755eed65.zip
FreeBSD-src-f4b6499ab587e531fac6a6bd8273de3a755eed65.tar.gz
As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to
include it explicitly when <vm/pmap.h> is already included. Reviewed by: alc, kib Differential Revision: https://reviews.freebsd.org/D5373
Diffstat (limited to 'sys/dev/ntb')
-rw-r--r--sys/dev/ntb/if_ntb/if_ntb.c1
-rw-r--r--sys/dev/ntb/ntb_hw/ntb_hw.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ntb/if_ntb/if_ntb.c b/sys/dev/ntb/if_ntb/if_ntb.c
index b28502f..6684edd 100644
--- a/sys/dev/ntb/if_ntb/if_ntb.c
+++ b/sys/dev/ntb/if_ntb/if_ntb.c
@@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpufunc.h>
-#include <machine/pmap.h>
#include <netinet/in.h>
#include <netinet/ip.h>
diff --git a/sys/dev/ntb/ntb_hw/ntb_hw.c b/sys/dev/ntb/ntb_hw/ntb_hw.c
index 90b27a3..cb8f27c 100644
--- a/sys/dev/ntb/ntb_hw/ntb_hw.c
+++ b/sys/dev/ntb/ntb_hw/ntb_hw.c
@@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/bus.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
OpenPOWER on IntegriCloud