kernel: Remove unneeded #include <sys/devicestat.h> in disk/RAID drivers.
authorSascha Wildner <saw@online.de>
Mon, 5 Nov 2012 04:18:45 +0000 (05:18 +0100)
committerSascha Wildner <saw@online.de>
Mon, 5 Nov 2012 04:18:45 +0000 (05:18 +0100)
12 files changed:
sys/dev/disk/ahci/ahci_dragonfly.h
sys/dev/disk/isp/isp_freebsd.c
sys/dev/disk/mpt/mpt.h
sys/dev/disk/mpt/mpt_raid.c
sys/dev/disk/sbp/sbp.c
sys/dev/disk/sili/sili_dragonfly.h
sys/dev/disk/vpo/vpo.c
sys/dev/raid/arcmsr/arcmsr.c
sys/dev/raid/hpt27xx/os_bsd.h
sys/dev/raid/hptmv/osbsd.h
sys/dev/raid/twa/tw_osl_includes.h
sys/dev/raid/vinum/vinum.c

index 56e9bb1..3197188 100644 (file)
@@ -41,7 +41,6 @@
 #include <sys/device.h>
 #include <sys/disk.h>
 #include <sys/stat.h>
-#include <sys/devicestat.h>
 #include <sys/buf.h>
 #include <sys/proc.h>
 #include <sys/queue.h>
index b0685cf..ceab167 100644 (file)
@@ -35,7 +35,6 @@
 #include <sys/conf.h>
 #include <sys/module.h>
 #include <dev/disk/isp/isp_ioctl.h>
-#include <sys/devicestat.h>
 #include <bus/cam/cam_periph.h>
 #include <bus/cam/cam_xpt_periph.h>
 #include <sys/device.h>
index 3f27ca5..0fb6cff 100644 (file)
 #include <sys/kernel.h>
 #include <sys/queue.h>
 #include <sys/malloc.h>
-#include <sys/devicestat.h>
 #include <sys/proc.h>
 #include <sys/bus.h>
 #include <sys/module.h>
index 4c6a56a..34243fa 100644 (file)
@@ -52,8 +52,6 @@
 #include <bus/cam/cam_ccb.h>
 #include <bus/cam/cam_sim.h>
 #include <bus/cam/cam_xpt_sim.h>
-
-#include <sys/devicestat.h>
 #include <bus/cam/cam_periph.h>
 
 #include <sys/callout.h>
index 34adfa6..81fd02b 100644 (file)
@@ -42,8 +42,6 @@
 #include <sys/kernel.h>
 #include <sys/sysctl.h>
 #include <sys/malloc.h>
-
-#include <sys/devicestat.h>    /* for struct devstat */
 #include <sys/thread2.h>
 
 #include <bus/cam/cam.h>
index 9a4f2c9..8dcc982 100644 (file)
@@ -41,7 +41,6 @@
 #include <sys/device.h>
 #include <sys/disk.h>
 #include <sys/stat.h>
-#include <sys/devicestat.h>
 #include <sys/buf.h>
 #include <sys/proc.h>
 #include <sys/queue.h>
index 07b1277..da01e70 100644 (file)
@@ -31,7 +31,6 @@
 #include <sys/module.h>
 #include <sys/bus.h>
 #include <sys/malloc.h>
-#include <sys/devicestat.h>    /* for struct devstat */
 #include <sys/thread2.h>       /* for crit_*() */
 
 #include <machine/clock.h>
index 2213388..878a470 100644 (file)
@@ -87,7 +87,6 @@
 #include <sys/bus.h>
 #include <sys/queue.h>
 #include <sys/stat.h>
-#include <sys/devicestat.h>
 #include <sys/kthread.h>
 #include <sys/module.h>
 #include <sys/proc.h>
index 88bbf9c..2721d49 100644 (file)
 #include <bus/pci/pcireg.h>
 #include <bus/pci/pcivar.h>
 
-#if (__FreeBSD_version <= 500043)
-#include <sys/devicestat.h>
-#endif
-
 #include <bus/cam/cam.h>
 #include <bus/cam/cam_ccb.h>
 #include <bus/cam/cam_sim.h>
index d772b9f..960d792 100644 (file)
@@ -31,7 +31,6 @@
 #include <sys/bus.h>
 #include <sys/resource.h>
 #include <sys/eventhandler.h>
-#include <sys/devicestat.h>
 
 #include <vm/vm.h>
 #include <vm/pmap.h>
index 2a219db..82b49b2 100644 (file)
@@ -58,7 +58,6 @@
 #include <sys/disk.h>
 #include <sys/resource.h>
 #include <sys/stat.h>
-#include <sys/devicestat.h>
 #include <sys/taskqueue.h>
 #include <sys/time.h>
 
index 10163ca..da4207d 100644 (file)
@@ -43,7 +43,6 @@
 
 #include "vinumhdr.h"
 #include <sys/sysproto.h>                                  /* for sync(2) */
-#include <sys/devicestat.h>
 #include <sys/poll.h>                                      /* XXX: poll ops used in kq filters */
 #include <sys/event.h>
 #include <sys/udev.h>