summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-04-18 15:15:39 +0000
committerphk <phk@FreeBSD.org>2000-04-18 15:15:39 +0000
commit75e82c815e00de5ffd06e2f8af574ed5a4e6cf3d (patch)
tree1b08d65e5b35baf3026b56052c3e98564bf87a60
parent343196d29d5df7e5385c67a7ddf0f45e924f4ca2 (diff)
downloadFreeBSD-src-75e82c815e00de5ffd06e2f8af574ed5a4e6cf3d.zip
FreeBSD-src-75e82c815e00de5ffd06e2f8af574ed5a4e6cf3d.tar.gz
Remove unneeded <sys/buf.h> includes.
Due to some interesting cpp tricks in lockmgr, the LINT kernel shrinks by 924 bytes.
-rw-r--r--sys/alpha/linux/linux_sysvec.c1
-rw-r--r--sys/amd64/amd64/mem.c1
-rw-r--r--sys/cam/scsi/scsi_ch.c1
-rw-r--r--sys/cam/scsi/scsi_ses.c1
-rw-r--r--sys/compat/svr4/svr4_stream.c1
-rw-r--r--sys/compat/svr4/svr4_sysvec.c1
-rw-r--r--sys/dev/advansys/advansys.c1
-rw-r--r--sys/dev/aha/aha.c1
-rw-r--r--sys/dev/aic/aic.c1
-rw-r--r--sys/dev/aic7xxx/aic7xxx.c1
-rw-r--r--sys/dev/amd/amd.c1
-rw-r--r--sys/dev/ata/atapi-all.c1
-rw-r--r--sys/dev/bktr/bktr_i2c.c1
-rw-r--r--sys/dev/buslogic/bt.c1
-rw-r--r--sys/dev/dpt/dpt_scsi.c1
-rw-r--r--sys/dev/iicbus/iic.c1
-rw-r--r--sys/dev/iicbus/iicbb.c1
-rw-r--r--sys/dev/iicbus/iicsmb.c1
-rw-r--r--sys/dev/pci/pci.c1
-rw-r--r--sys/dev/ppbus/immio.c1
-rw-r--r--sys/dev/ppbus/lpbb.c1
-rw-r--r--sys/dev/ppbus/vpoio.c1
-rw-r--r--sys/dev/smbus/smb.c1
-rw-r--r--sys/dev/sym/sym_hipd.c1
-rw-r--r--sys/dev/vinum/vinumparser.c1
-rw-r--r--sys/fs/deadfs/dead_vnops.c1
-rw-r--r--sys/fs/ntfs/ntfs_compr.c1
-rw-r--r--sys/fs/nullfs/null_vnops.c1
-rw-r--r--sys/fs/nwfs/nwfs_ioctl.c1
-rw-r--r--sys/fs/umapfs/umap_vnops.c1
-rw-r--r--sys/i386/i386/mem.c1
-rw-r--r--sys/i386/isa/asc.c1
-rw-r--r--sys/i386/isa/gsc.c1
-rw-r--r--sys/i386/linux/linux_sysvec.c1
-rw-r--r--sys/kern/kern_exec.c1
-rw-r--r--sys/kern/kern_sysctl.c1
-rw-r--r--sys/kern/kern_time.c1
-rw-r--r--sys/miscfs/deadfs/dead_vnops.c1
-rw-r--r--sys/miscfs/nullfs/null_vnops.c1
-rw-r--r--sys/miscfs/umapfs/umap_vnops.c1
-rw-r--r--sys/ntfs/ntfs_compr.c1
-rw-r--r--sys/nwfs/nwfs_ioctl.c1
-rw-r--r--sys/pci/alpm.c1
-rw-r--r--sys/pci/amd.c1
-rw-r--r--sys/pci/intpm.c1
-rw-r--r--sys/pci/ncr.c1
-rw-r--r--sys/pci/pci.c1
-rw-r--r--sys/svr4/svr4_stream.c1
-rw-r--r--sys/svr4/svr4_sysvec.c1
-rw-r--r--sys/vm/vm_glue.c1
50 files changed, 0 insertions, 50 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index a92cd8ad..bd2211b 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/linux/linux_sysvec.c
@@ -37,7 +37,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/sysent.h>
#include <sys/imgact.h>
diff --git a/sys/amd64/amd64/mem.c b/sys/amd64/amd64/mem.c
index bb96e18..5cd7051 100644
--- a/sys/amd64/amd64/mem.c
+++ b/sys/amd64/amd64/mem.c
@@ -49,7 +49,6 @@
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/fcntl.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <sys/uio.h>
#include <sys/ioccom.h>
diff --git a/sys/cam/scsi/scsi_ch.c b/sys/cam/scsi/scsi_ch.c
index 42b0694..b51163b 100644
--- a/sys/cam/scsi/scsi_ch.c
+++ b/sys/cam/scsi/scsi_ch.c
@@ -77,7 +77,6 @@
#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/chio.h>
#include <sys/errno.h>
#include <sys/devicestat.h>
diff --git a/sys/cam/scsi/scsi_ses.c b/sys/cam/scsi/scsi_ses.c
index 913f35c..bf57059 100644
--- a/sys/cam/scsi/scsi_ses.c
+++ b/sys/cam/scsi/scsi_ses.c
@@ -34,7 +34,6 @@
#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/errno.h>
#include <sys/devicestat.h>
#include <machine/stdarg.h>
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index aa27ac0..a4cd74f 100644
--- a/sys/compat/svr4/svr4_stream.c
+++ b/sys/compat/svr4/svr4_stream.c
@@ -41,7 +41,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/malloc.h>
#include <sys/file.h>
#include <sys/filedesc.h>
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c
index c66e61b..9de253c 100644
--- a/sys/compat/svr4/svr4_sysvec.c
+++ b/sys/compat/svr4/svr4_sysvec.c
@@ -39,7 +39,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/sysent.h>
#include <sys/imgact.h>
diff --git a/sys/dev/advansys/advansys.c b/sys/dev/advansys/advansys.c
index 15cdc59..62c4790 100644
--- a/sys/dev/advansys/advansys.c
+++ b/sys/dev/advansys/advansys.c
@@ -50,7 +50,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <machine/bus_pio.h>
diff --git a/sys/dev/aha/aha.c b/sys/dev/aha/aha.c
index a701dfe..bce9630 100644
--- a/sys/dev/aha/aha.c
+++ b/sys/dev/aha/aha.c
@@ -61,7 +61,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <machine/bus_pio.h>
diff --git a/sys/dev/aic/aic.c b/sys/dev/aic/aic.c
index 07687bf..e6d6bec 100644
--- a/sys/dev/aic/aic.c
+++ b/sys/dev/aic/aic.c
@@ -29,7 +29,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/bus.h>
diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c
index 29e96f4..aae3802 100644
--- a/sys/dev/aic7xxx/aic7xxx.c
+++ b/sys/dev/aic7xxx/aic7xxx.c
@@ -93,7 +93,6 @@
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/eventhandler.h>
-#include <sys/buf.h>
#include <sys/proc.h>
#include <cam/cam.h>
diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c
index b07bc14..3519093 100644
--- a/sys/dev/amd/amd.c
+++ b/sys/dev/amd/amd.c
@@ -55,7 +55,6 @@
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/queue.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <vm/vm.h>
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c
index 5700a9a..1862ccf 100644
--- a/sys/dev/ata/atapi-all.c
+++ b/sys/dev/ata/atapi-all.c
@@ -36,7 +36,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/buf.h>
#include <sys/bus.h>
#include <sys/malloc.h>
#include <machine/clock.h>
diff --git a/sys/dev/bktr/bktr_i2c.c b/sys/dev/bktr/bktr_i2c.c
index 2021f9e..8458b22 100644
--- a/sys/dev/bktr/bktr_i2c.c
+++ b/sys/dev/bktr/bktr_i2c.c
@@ -41,7 +41,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/select.h>
diff --git a/sys/dev/buslogic/bt.c b/sys/dev/buslogic/bt.c
index 144c2c4..cf291c5 100644
--- a/sys/dev/buslogic/bt.c
+++ b/sys/dev/buslogic/bt.c
@@ -44,7 +44,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/bus.h>
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c
index 090f008..d9a54b8 100644
--- a/sys/dev/dpt/dpt_scsi.c
+++ b/sys/dev/dpt/dpt_scsi.c
@@ -52,7 +52,6 @@
#include <sys/systm.h>
#include <sys/eventhandler.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <stddef.h> /* For offsetof */
diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c
index 0482adf..ea04060 100644
--- a/sys/dev/iicbus/iic.c
+++ b/sys/dev/iicbus/iic.c
@@ -32,7 +32,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/fcntl.h>
diff --git a/sys/dev/iicbus/iicbb.c b/sys/dev/iicbus/iicbb.c
index b4e4f63..ee9bf5b 100644
--- a/sys/dev/iicbus/iicbb.c
+++ b/sys/dev/iicbus/iicbb.c
@@ -50,7 +50,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
diff --git a/sys/dev/iicbus/iicsmb.c b/sys/dev/iicbus/iicsmb.c
index f967551..d709f8b 100644
--- a/sys/dev/iicbus/iicsmb.c
+++ b/sys/dev/iicbus/iicsmb.c
@@ -51,7 +51,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 574d567..23d9474 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -41,7 +41,6 @@
#include <sys/kernel.h>
#include <sys/queue.h>
#include <sys/types.h>
-#include <sys/buf.h>
#include <vm/vm.h>
#include <vm/pmap.h>
diff --git a/sys/dev/ppbus/immio.c b/sys/dev/ppbus/immio.c
index 30d9117..7e473a3 100644
--- a/sys/dev/ppbus/immio.c
+++ b/sys/dev/ppbus/immio.c
@@ -39,7 +39,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <machine/clock.h>
diff --git a/sys/dev/ppbus/lpbb.c b/sys/dev/ppbus/lpbb.c
index 899e865..72e3f76 100644
--- a/sys/dev/ppbus/lpbb.c
+++ b/sys/dev/ppbus/lpbb.c
@@ -39,7 +39,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
diff --git a/sys/dev/ppbus/vpoio.c b/sys/dev/ppbus/vpoio.c
index e5fd445..2da4d2a 100644
--- a/sys/dev/ppbus/vpoio.c
+++ b/sys/dev/ppbus/vpoio.c
@@ -33,7 +33,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <machine/clock.h>
diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c
index c4bd042..fc0f21e 100644
--- a/sys/dev/smbus/smb.c
+++ b/sys/dev/smbus/smb.c
@@ -32,7 +32,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/fcntl.h>
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index 72cb85c..e2fb26b 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -82,7 +82,6 @@
#include <sys/bus.h>
#endif
-#include <sys/buf.h>
#include <sys/proc.h>
#include <pci/pcireg.h>
diff --git a/sys/dev/vinum/vinumparser.c b/sys/dev/vinum/vinumparser.c
index 0fd0866..2cea9fe 100644
--- a/sys/dev/vinum/vinumparser.c
+++ b/sys/dev/vinum/vinumparser.c
@@ -72,7 +72,6 @@
#include <sys/disklabel.h>
#include <sys/mount.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <dev/vinum/vinumvar.h>
#include <dev/vinum/vinumkw.h>
diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c
index f9acbd0..f990733 100644
--- a/sys/fs/deadfs/dead_vnops.c
+++ b/sys/fs/deadfs/dead_vnops.c
@@ -39,7 +39,6 @@
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/vnode.h>
-#include <sys/buf.h>
#include <sys/poll.h>
static int chkvnlock __P((struct vnode *));
diff --git a/sys/fs/ntfs/ntfs_compr.c b/sys/fs/ntfs/ntfs_compr.c
index 114a6af..bdaac0a 100644
--- a/sys/fs/ntfs/ntfs_compr.c
+++ b/sys/fs/ntfs/ntfs_compr.c
@@ -35,7 +35,6 @@
#include <sys/kernel.h>
#include <sys/vnode.h>
#include <sys/mount.h>
-#include <sys/buf.h>
#include <sys/file.h>
#include <sys/malloc.h>
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
index 9600f3c..9861733 100644
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -182,7 +182,6 @@
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <miscfs/nullfs/null.h>
static int null_bug_bypass = 0; /* for debugging: enables bypass printf'ing */
diff --git a/sys/fs/nwfs/nwfs_ioctl.c b/sys/fs/nwfs/nwfs_ioctl.c
index 1892cef..a4c3bf6 100644
--- a/sys/fs/nwfs/nwfs_ioctl.c
+++ b/sys/fs/nwfs/nwfs_ioctl.c
@@ -33,7 +33,6 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c
index 02135b2..669a9ae 100644
--- a/sys/fs/umapfs/umap_vnops.c
+++ b/sys/fs/umapfs/umap_vnops.c
@@ -49,7 +49,6 @@
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <miscfs/umapfs/umap.h>
#include <miscfs/nullfs/null.h>
diff --git a/sys/i386/i386/mem.c b/sys/i386/i386/mem.c
index bb96e18..5cd7051 100644
--- a/sys/i386/i386/mem.c
+++ b/sys/i386/i386/mem.c
@@ -49,7 +49,6 @@
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/fcntl.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <sys/uio.h>
#include <sys/ioccom.h>
diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c
index 8c1e710..1658d38 100644
--- a/sys/i386/isa/asc.c
+++ b/sys/i386/isa/asc.c
@@ -42,7 +42,6 @@
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/proc.h>
-#include <sys/buf.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/poll.h>
diff --git a/sys/i386/isa/gsc.c b/sys/i386/isa/gsc.c
index 9eb15de..d487e53 100644
--- a/sys/i386/isa/gsc.c
+++ b/sys/i386/isa/gsc.c
@@ -39,7 +39,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/uio.h>
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index a92cd8ad..bd2211b 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -37,7 +37,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/sysent.h>
#include <sys/imgact.h>
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index d9ae6a2..6f40dcc 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -47,7 +47,6 @@
#include <sys/shm.h>
#include <sys/sysctl.h>
#include <sys/vnode.h>
-#include <sys/buf.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index c84737d..1da9a0b 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -45,7 +45,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/buf.h>
#include <sys/sysctl.h>
#include <sys/malloc.h>
#include <sys/proc.h>
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c
index 64b9f34..b94421e 100644
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -36,7 +36,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/sysproto.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c
index f9acbd0..f990733 100644
--- a/sys/miscfs/deadfs/dead_vnops.c
+++ b/sys/miscfs/deadfs/dead_vnops.c
@@ -39,7 +39,6 @@
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/vnode.h>
-#include <sys/buf.h>
#include <sys/poll.h>
static int chkvnlock __P((struct vnode *));
diff --git a/sys/miscfs/nullfs/null_vnops.c b/sys/miscfs/nullfs/null_vnops.c
index 9600f3c..9861733 100644
--- a/sys/miscfs/nullfs/null_vnops.c
+++ b/sys/miscfs/nullfs/null_vnops.c
@@ -182,7 +182,6 @@
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <miscfs/nullfs/null.h>
static int null_bug_bypass = 0; /* for debugging: enables bypass printf'ing */
diff --git a/sys/miscfs/umapfs/umap_vnops.c b/sys/miscfs/umapfs/umap_vnops.c
index 02135b2..669a9ae 100644
--- a/sys/miscfs/umapfs/umap_vnops.c
+++ b/sys/miscfs/umapfs/umap_vnops.c
@@ -49,7 +49,6 @@
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <miscfs/umapfs/umap.h>
#include <miscfs/nullfs/null.h>
diff --git a/sys/ntfs/ntfs_compr.c b/sys/ntfs/ntfs_compr.c
index 114a6af..bdaac0a 100644
--- a/sys/ntfs/ntfs_compr.c
+++ b/sys/ntfs/ntfs_compr.c
@@ -35,7 +35,6 @@
#include <sys/kernel.h>
#include <sys/vnode.h>
#include <sys/mount.h>
-#include <sys/buf.h>
#include <sys/file.h>
#include <sys/malloc.h>
diff --git a/sys/nwfs/nwfs_ioctl.c b/sys/nwfs/nwfs_ioctl.c
index 1892cef..a4c3bf6 100644
--- a/sys/nwfs/nwfs_ioctl.c
+++ b/sys/nwfs/nwfs_ioctl.c
@@ -33,7 +33,6 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
diff --git a/sys/pci/alpm.c b/sys/pci/alpm.c
index 1e8e785..fc7c537 100644
--- a/sys/pci/alpm.c
+++ b/sys/pci/alpm.c
@@ -36,7 +36,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/conf.h>
-#include <sys/buf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
diff --git a/sys/pci/amd.c b/sys/pci/amd.c
index b07bc14..3519093 100644
--- a/sys/pci/amd.c
+++ b/sys/pci/amd.c
@@ -55,7 +55,6 @@
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/queue.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <vm/vm.h>
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c
index fccd0c3..231bd62 100644
--- a/sys/pci/intpm.c
+++ b/sys/pci/intpm.c
@@ -39,7 +39,6 @@
#include <sys/bus.h>
#include <sys/conf.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <sys/rman.h>
#include <machine/resource.h>
#include <dev/smbus/smbconf.h>
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 6767d1f..8bc33fe 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -178,7 +178,6 @@
#ifdef _KERNEL
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/buf.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <machine/clock.h>
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index 574d567..23d9474 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -41,7 +41,6 @@
#include <sys/kernel.h>
#include <sys/queue.h>
#include <sys/types.h>
-#include <sys/buf.h>
#include <vm/vm.h>
#include <vm/pmap.h>
diff --git a/sys/svr4/svr4_stream.c b/sys/svr4/svr4_stream.c
index aa27ac0..a4cd74f 100644
--- a/sys/svr4/svr4_stream.c
+++ b/sys/svr4/svr4_stream.c
@@ -41,7 +41,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/malloc.h>
#include <sys/file.h>
#include <sys/filedesc.h>
diff --git a/sys/svr4/svr4_sysvec.c b/sys/svr4/svr4_sysvec.c
index c66e61b..9de253c 100644
--- a/sys/svr4/svr4_sysvec.c
+++ b/sys/svr4/svr4_sysvec.c
@@ -39,7 +39,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/sysent.h>
#include <sys/imgact.h>
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 0749df3..849a30a 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -69,7 +69,6 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
-#include <sys/buf.h>
#include <sys/shm.h>
#include <sys/vmmeter.h>
#include <sys/sysctl.h>
OpenPOWER on IntegriCloud