diff options
author | phk <phk@FreeBSD.org> | 2000-04-19 14:58:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-04-19 14:58:28 +0000 |
commit | 6be1308ad17c05993e3e29f246b7f0efa03a05fe (patch) | |
tree | 4383fffe9c6f9d3121b10dd9f157d97dbfeabe0b /sys/dev | |
parent | bdc51eda0607c8fa53feb6003b182c14a5703635 (diff) | |
download | FreeBSD-src-6be1308ad17c05993e3e29f246b7f0efa03a05fe.zip FreeBSD-src-6be1308ad17c05993e3e29f246b7f0efa03a05fe.tar.gz |
Remove ~25 unneeded #include <sys/conf.h>
Remove ~60 unneeded #include <sys/malloc.h>
Diffstat (limited to 'sys/dev')
48 files changed, 0 insertions, 53 deletions
diff --git a/sys/dev/aic/aic.c b/sys/dev/aic/aic.c index e6d6bec..b95a8d8 100644 --- a/sys/dev/aic/aic.c +++ b/sys/dev/aic/aic.c @@ -28,7 +28,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/sysctl.h> #include <sys/bus.h> diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c index 3519093..808afa7 100644 --- a/sys/dev/amd/amd.c +++ b/sys/dev/amd/amd.c @@ -53,7 +53,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/queue.h> #include <sys/kernel.h> diff --git a/sys/dev/amr/amr_disk.c b/sys/dev/amr/amr_disk.c index 3fd566b..9d6be1d 100644 --- a/sys/dev/amr/amr_disk.c +++ b/sys/dev/amr/amr_disk.c @@ -33,7 +33,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/buf.h> diff --git a/sys/dev/amr/amr_pci.c b/sys/dev/amr/amr_pci.c index 382a4a8..a144fcc 100644 --- a/sys/dev/amr/amr_pci.c +++ b/sys/dev/amr/amr_pci.c @@ -28,7 +28,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/bus.h> diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index 0364058..dc63b93 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -94,7 +94,6 @@ #include <sys/systm.h> #include <sys/sockio.h> #include <sys/mbuf.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/socket.h> #ifdef ANCACHE diff --git a/sys/dev/an/if_an_isa.c b/sys/dev/an/if_an_isa.c index ae79a3e..e798437 100644 --- a/sys/dev/an/if_an_isa.c +++ b/sys/dev/an/if_an_isa.c @@ -49,7 +49,6 @@ #include <sys/systm.h> #include <sys/sockio.h> #include <sys/mbuf.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/socket.h> diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c index c114afb..4b455e0 100644 --- a/sys/dev/an/if_an_pci.c +++ b/sys/dev/an/if_an_pci.c @@ -62,7 +62,6 @@ #include <sys/systm.h> #include <sys/sockio.h> #include <sys/mbuf.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/socket.h> diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index bbcd5f1..bcc8a87 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/psm.c @@ -71,7 +71,6 @@ #include <sys/conf.h> #include <sys/poll.h> #include <sys/syslog.h> -#include <sys/malloc.h> #include <machine/bus.h> #include <sys/rman.h> #include <sys/select.h> diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c index d338d09..ae8ac66 100644 --- a/sys/dev/bktr/bktr_core.c +++ b/sys/dev/bktr/bktr_core.c @@ -110,7 +110,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/conf.h> #include <sys/kernel.h> #include <sys/signalvar.h> #include <sys/vnode.h> diff --git a/sys/dev/bktr/bktr_i2c.c b/sys/dev/bktr/bktr_i2c.c index 8458b22..e21ccf3 100644 --- a/sys/dev/bktr/bktr_i2c.c +++ b/sys/dev/bktr/bktr_i2c.c @@ -40,9 +40,7 @@ #include <sys/systm.h> #include <sys/module.h> #include <sys/bus.h> -#include <sys/conf.h> #include <sys/uio.h> -#include <sys/malloc.h> #include <sys/select.h> #include <machine/clock.h> diff --git a/sys/dev/dc/dcphy.c b/sys/dev/dc/dcphy.c index 8576d84..a39adc5 100644 --- a/sys/dev/dc/dcphy.c +++ b/sys/dev/dc/dcphy.c @@ -44,7 +44,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/errno.h> #include <sys/module.h> diff --git a/sys/dev/dc/pnphy.c b/sys/dev/dc/pnphy.c index 0f8498e..583cce9 100644 --- a/sys/dev/dc/pnphy.c +++ b/sys/dev/dc/pnphy.c @@ -42,7 +42,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/errno.h> #include <sys/module.h> diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index a5bf1a5..6a38553 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -41,7 +41,6 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/sockio.h> -#include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/syslog.h> diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 35a6198..7b4479b 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -64,7 +64,6 @@ #include <sys/param.h> #include <sys/kernel.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/sockio.h> diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index bf2624d6..28f888a 100644 --- a/sys/dev/ex/if_ex.c +++ b/sys/dev/ex/if_ex.c @@ -43,7 +43,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/conf.h> #include <sys/sockio.h> #include <sys/mbuf.h> #include <sys/socket.h> diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index 6f81c0d..1b70bfb 100644 --- a/sys/dev/ida/ida_disk.c +++ b/sys/dev/ida/ida_disk.c @@ -32,7 +32,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/buf.h> diff --git a/sys/dev/ida/ida_pci.c b/sys/dev/ida/ida_pci.c index d43a157..74229cf 100644 --- a/sys/dev/ida/ida_pci.c +++ b/sys/dev/ida/ida_pci.c @@ -28,7 +28,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/buf.h> diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 0b6736f..09e2d98 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -115,7 +115,6 @@ iomem and and with 0xffff. #include <sys/eventhandler.h> #include <sys/kernel.h> #include <sys/malloc.h> -#include <sys/conf.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/sockio.h> diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c index ea04060..0a6831b 100644 --- a/sys/dev/iicbus/iic.c +++ b/sys/dev/iicbus/iic.c @@ -33,7 +33,6 @@ #include <sys/bus.h> #include <sys/conf.h> #include <sys/uio.h> -#include <sys/malloc.h> #include <sys/fcntl.h> #include <machine/clock.h> diff --git a/sys/dev/iicbus/iicbb.c b/sys/dev/iicbus/iicbb.c index ee9bf5b..6dbdc15 100644 --- a/sys/dev/iicbus/iicbb.c +++ b/sys/dev/iicbus/iicbb.c @@ -49,9 +49,7 @@ #include <sys/systm.h> #include <sys/module.h> #include <sys/bus.h> -#include <sys/conf.h> #include <sys/uio.h> -#include <sys/malloc.h> #include <machine/clock.h> diff --git a/sys/dev/iicbus/iiconf.c b/sys/dev/iicbus/iiconf.c index 1fc07bf..f8ef5e1 100644 --- a/sys/dev/iicbus/iiconf.c +++ b/sys/dev/iicbus/iiconf.c @@ -29,7 +29,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/module.h> #include <sys/bus.h> diff --git a/sys/dev/iicbus/iicsmb.c b/sys/dev/iicbus/iicsmb.c index d709f8b..cd2595e 100644 --- a/sys/dev/iicbus/iicsmb.c +++ b/sys/dev/iicbus/iicsmb.c @@ -50,9 +50,7 @@ #include <sys/systm.h> #include <sys/module.h> #include <sys/bus.h> -#include <sys/conf.h> #include <sys/uio.h> -#include <sys/malloc.h> #include <machine/clock.h> diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index ac6a4b7..54b3834 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -33,7 +33,6 @@ * SUCH DAMAGE. */ #include <dev/isp/isp_freebsd.h> -#include <sys/malloc.h> static void isp_cam_async(void *, u_int32_t, struct cam_path *, void *); static void isp_poll(struct cam_sim *); diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index baa9aca..42e3c02 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -68,7 +68,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/conf.h> #include <sys/sockio.h> #include <sys/malloc.h> #include <sys/mbuf.h> diff --git a/sys/dev/mii/amphy.c b/sys/dev/mii/amphy.c index 91eb707..82dbb36 100644 --- a/sys/dev/mii/amphy.c +++ b/sys/dev/mii/amphy.c @@ -41,7 +41,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/dcphy.c b/sys/dev/mii/dcphy.c index 8576d84..a39adc5 100644 --- a/sys/dev/mii/dcphy.c +++ b/sys/dev/mii/dcphy.c @@ -44,7 +44,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/errno.h> #include <sys/module.h> diff --git a/sys/dev/mii/exphy.c b/sys/dev/mii/exphy.c index 30b6b63..f34f92a 100644 --- a/sys/dev/mii/exphy.c +++ b/sys/dev/mii/exphy.c @@ -73,7 +73,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/module.h> #include <sys/bus.h> diff --git a/sys/dev/mii/mlphy.c b/sys/dev/mii/mlphy.c index 91e0ffb..13ce5ff 100644 --- a/sys/dev/mii/mlphy.c +++ b/sys/dev/mii/mlphy.c @@ -50,7 +50,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/module.h> #include <sys/bus.h> diff --git a/sys/dev/mii/nsphy.c b/sys/dev/mii/nsphy.c index 6591979..8de91c7 100644 --- a/sys/dev/mii/nsphy.c +++ b/sys/dev/mii/nsphy.c @@ -74,7 +74,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/errno.h> #include <sys/module.h> diff --git a/sys/dev/mii/pnphy.c b/sys/dev/mii/pnphy.c index 0f8498e..583cce9 100644 --- a/sys/dev/mii/pnphy.c +++ b/sys/dev/mii/pnphy.c @@ -42,7 +42,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/errno.h> #include <sys/module.h> diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c index 956160d..15e7ee1 100644 --- a/sys/dev/mii/rlphy.c +++ b/sys/dev/mii/rlphy.c @@ -39,7 +39,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/bus.h> diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c index cb22eab..a17651b 100644 --- a/sys/dev/mii/ukphy.c +++ b/sys/dev/mii/ukphy.c @@ -73,7 +73,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/errno.h> #include <sys/module.h> diff --git a/sys/dev/mii/ukphy_subr.c b/sys/dev/mii/ukphy_subr.c index d39ef46..79ac2e5 100644 --- a/sys/dev/mii/ukphy_subr.c +++ b/sys/dev/mii/ukphy_subr.c @@ -44,7 +44,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/socket.h> #include <sys/module.h> #include <sys/bus.h> diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c index 50f20c5..15af6b7 100644 --- a/sys/dev/mlx/mlx_disk.c +++ b/sys/dev/mlx/mlx_disk.c @@ -33,7 +33,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/buf.h> diff --git a/sys/dev/mlx/mlx_pci.c b/sys/dev/mlx/mlx_pci.c index 004c9aa..6fe9a56 100644 --- a/sys/dev/mlx/mlx_pci.c +++ b/sys/dev/mlx/mlx_pci.c @@ -28,7 +28,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/bus.h> diff --git a/sys/dev/pcf/pcf.c b/sys/dev/pcf/pcf.c index e37823e..2429b3f 100644 --- a/sys/dev/pcf/pcf.c +++ b/sys/dev/pcf/pcf.c @@ -31,7 +31,6 @@ #include <sys/kernel.h> #include <sys/module.h> #include <sys/bus.h> -#include <sys/malloc.h> #include <machine/clock.h> #include <machine/bus.h> diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c index 7a5f8fc..2c7940f 100644 --- a/sys/dev/ppbus/if_plip.c +++ b/sys/dev/ppbus/if_plip.c @@ -84,7 +84,6 @@ #include <sys/systm.h> #include <sys/module.h> #include <sys/bus.h> -#include <sys/conf.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/sockio.h> diff --git a/sys/dev/ppbus/lpbb.c b/sys/dev/ppbus/lpbb.c index 72e3f76..9132b47 100644 --- a/sys/dev/ppbus/lpbb.c +++ b/sys/dev/ppbus/lpbb.c @@ -38,9 +38,7 @@ #include <sys/systm.h> #include <sys/module.h> #include <sys/bus.h> -#include <sys/conf.h> #include <sys/uio.h> -#include <sys/malloc.h> #include <machine/clock.h> diff --git a/sys/dev/ppbus/pcfclock.c b/sys/dev/ppbus/pcfclock.c index 9101638..c82e5dc 100644 --- a/sys/dev/ppbus/pcfclock.c +++ b/sys/dev/ppbus/pcfclock.c @@ -32,7 +32,6 @@ #include <sys/bus.h> #include <sys/sockio.h> #include <sys/mbuf.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/conf.h> #include <sys/fcntl.h> diff --git a/sys/dev/ppbus/pps.c b/sys/dev/ppbus/pps.c index f89c560..a9a56fe 100644 --- a/sys/dev/ppbus/pps.c +++ b/sys/dev/ppbus/pps.c @@ -23,7 +23,6 @@ #include <sys/conf.h> #include <sys/timetc.h> #include <sys/timepps.h> -#include <sys/malloc.h> #include <machine/bus.h> #include <machine/resource.h> #include <sys/rman.h> diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c index fc0f21e..67341ae 100644 --- a/sys/dev/smbus/smb.c +++ b/sys/dev/smbus/smb.c @@ -33,7 +33,6 @@ #include <sys/bus.h> #include <sys/conf.h> #include <sys/uio.h> -#include <sys/malloc.h> #include <sys/fcntl.h> #include <machine/clock.h> diff --git a/sys/dev/smbus/smbconf.c b/sys/dev/smbus/smbconf.c index 1afb7e9..5e242aa 100644 --- a/sys/dev/smbus/smbconf.c +++ b/sys/dev/smbus/smbconf.c @@ -29,7 +29,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/module.h> #include <sys/bus.h> diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c index cbc18d9..15e00b9 100644 --- a/sys/dev/sn/if_sn.c +++ b/sys/dev/sn/if_sn.c @@ -86,7 +86,6 @@ #include <sys/kernel.h> #include <sys/errno.h> #include <sys/sockio.h> -#include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/syslog.h> diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 869994c..4a0256d 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -98,7 +98,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/conf.h> #include <sys/module.h> #include <sys/bus.h> #include <machine/clock.h> diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index 643ffb0..61cb24d 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -49,7 +49,6 @@ #include <sys/module.h> #include <sys/bus.h> #include <sys/ioccom.h> -#include <sys/conf.h> #endif #include <sys/tty.h> #include <sys/file.h> diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c index 1c7144f..94fbcf7 100644 --- a/sys/dev/usb/usbdi.c +++ b/sys/dev/usb/usbdi.c @@ -46,7 +46,6 @@ #elif defined(__FreeBSD__) #include <sys/module.h> #include <sys/bus.h> -#include <sys/conf.h> #include "usb_if.h" #if defined(DIAGNOSTIC) && defined(__i386__) #include <machine/cpu.h> diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index 0cb88a4..eb8053b 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -72,7 +72,6 @@ #include <sys/systm.h> #include <sys/sockio.h> #include <sys/mbuf.h> -#include <sys/malloc.h> #include <sys/kernel.h> #include <sys/socket.h> #include <sys/module.h> diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c index 608f810..00d75c6 100644 --- a/sys/dev/xe/if_xe.c +++ b/sys/dev/xe/if_xe.c @@ -120,14 +120,12 @@ #include <sys/cdefs.h> #include <sys/errno.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/select.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/systm.h> #include <sys/uio.h> -#include <sys/conf.h> #include <sys/module.h> #include <sys/bus.h> |