summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2007-04-23 18:01:44 +0000
committerscottl <scottl@FreeBSD.org>2007-04-23 18:01:44 +0000
commit57f1ae0c23f3c2995016ebfa9744d5ecde4379fa (patch)
treed8fb875de99265a40de0d0155fedb9550c3280cf /sys/cam
parent008892b71a55b329b41d1d06f71a1ffb7839e6da (diff)
downloadFreeBSD-src-57f1ae0c23f3c2995016ebfa9744d5ecde4379fa.zip
FreeBSD-src-57f1ae0c23f3c2995016ebfa9744d5ecde4379fa.tar.gz
Remove obsolete headers. Move kernel specific headers under #ifdefs
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_da.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index a734e37..19053de 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -39,20 +39,13 @@ __FBSDID("$FreeBSD$");
#include <sys/taskqueue.h>
#include <sys/lock.h>
#include <sys/mutex.h>
-#endif /* _KERNEL */
-
-#include <sys/devicestat.h>
#include <sys/conf.h>
+#include <sys/devicestat.h>
#include <sys/eventhandler.h>
#include <sys/malloc.h>
#include <sys/cons.h>
-
-#include <machine/md_var.h>
-
-#include <vm/vm.h>
-#include <vm/pmap.h>
-
#include <geom/geom_disk.h>
+#endif /* _KERNEL */
#ifndef _KERNEL
#include <stdio.h>
OpenPOWER on IntegriCloud