From d02cab25565d9a15e5b1e673f257dd3334ac8132 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 19 Aug 2010 16:41:27 +0000 Subject: Remove unused KTRACE includes. --- sys/amd64/amd64/trap.c | 4 ---- sys/amd64/ia32/ia32_syscall.c | 4 ---- sys/i386/i386/trap.c | 4 ---- sys/ia64/ia64/trap.c | 6 ------ sys/kern/sched_ule.c | 4 ---- sys/powerpc/aim/trap.c | 5 ----- sys/powerpc/booke/trap.c | 4 ---- sys/sparc64/sparc64/trap.c | 5 ----- sys/sun4v/sun4v/trap.c | 5 ----- 9 files changed, 41 deletions(-) diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 3642554..f38dbf9 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include "opt_isa.h" #include "opt_kdb.h" #include "opt_kdtrace.h" -#include "opt_ktrace.h" #include #include @@ -70,9 +69,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef KTRACE -#include -#endif #ifdef HWPMC_HOOKS #include #endif diff --git a/sys/amd64/ia32/ia32_syscall.c b/sys/amd64/ia32/ia32_syscall.c index 6a649ae..9a3488e 100644 --- a/sys/amd64/ia32/ia32_syscall.c +++ b/sys/amd64/ia32/ia32_syscall.c @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include "opt_clock.h" #include "opt_cpu.h" #include "opt_isa.h" -#include "opt_ktrace.h" #include #include @@ -65,9 +64,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef KTRACE -#include -#endif #include #include diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index 9c93319..561ce68 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); #include "opt_isa.h" #include "opt_kdb.h" #include "opt_kdtrace.h" -#include "opt_ktrace.h" #include "opt_npx.h" #include "opt_trap.h" @@ -72,9 +71,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef KTRACE -#include -#endif #ifdef HWPMC_HOOKS #include #endif diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c index f6db8c9..60b00c4 100644 --- a/sys/ia64/ia64/trap.c +++ b/sys/ia64/ia64/trap.c @@ -28,7 +28,6 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" -#include "opt_ktrace.h" #include #include @@ -67,11 +66,6 @@ __FBSDID("$FreeBSD$"); #include #endif -#ifdef KTRACE -#include -#include -#endif - #include #include diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index e210ebc..0a1f7b9 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -62,10 +62,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef KTRACE -#include -#include -#endif #ifdef HWPMC_HOOKS #include diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index df5c971..76df6dd 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -34,8 +34,6 @@ #include __FBSDID("$FreeBSD$"); -#include "opt_ktrace.h" - #include #include #include @@ -50,9 +48,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef KTRACE -#include -#endif #include #include diff --git a/sys/powerpc/booke/trap.c b/sys/powerpc/booke/trap.c index 93dc597..a2d0d70 100644 --- a/sys/powerpc/booke/trap.c +++ b/sys/powerpc/booke/trap.c @@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$"); #include "opt_fpu_emu.h" -#include "opt_ktrace.h" #include #include @@ -51,9 +50,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef KTRACE -#include -#endif #include #include diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c index 8ce6970..b9e5d94 100644 --- a/sys/sparc64/sparc64/trap.c +++ b/sys/sparc64/sparc64/trap.c @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" #include "opt_ktr.h" -#include "opt_ktrace.h" #include #include @@ -65,10 +64,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef KTRACE -#include -#include -#endif #include #include diff --git a/sys/sun4v/sun4v/trap.c b/sys/sun4v/sun4v/trap.c index d099351..cfc5135 100644 --- a/sys/sun4v/sun4v/trap.c +++ b/sys/sun4v/sun4v/trap.c @@ -42,7 +42,6 @@ #include "opt_ddb.h" #include "opt_ktr.h" -#include "opt_ktrace.h" #include #include @@ -62,10 +61,6 @@ #include #include #include -#ifdef KTRACE -#include -#include -#endif #include -- cgit v1.1