From fdb33fbebb9470529fd7dea56905f0454ac53905 Mon Sep 17 00:00:00 2001 From: Eygene Ryabinkin Date: Fri, 5 Jun 2009 10:25:52 +0400 Subject: [PATCH] pcpu.h: eliminate dead code with KTR_PERCPU As per words of John Baldwin, http://lists.freebsd.org/pipermail/freebsd-current/2009-June/007749.html and as discovered by grep'ping -CURRENT sources, KTR_PERCPU is not used anywhere and there is no intention to support it. Signed-off-by: Eygene Ryabinkin --- sys/sys/pcpu.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h index 98705eb..500657e 100644 --- a/sys/sys/pcpu.h +++ b/sys/sys/pcpu.h @@ -76,10 +76,6 @@ struct pcpu { cpumask_t pc_other_cpus; /* Mask of all other cpus */ SLIST_ENTRY(pcpu) pc_allcpu; struct lock_list_entry *pc_spinlocks; -#ifdef KTR_PERCPU - int pc_ktr_idx; /* Index into trace table */ - char *pc_ktr_buf; -#endif #ifdef KTR char pc_name[PCPU_NAME_LEN]; /* String name for KTR. */ #endif -- 1.6.3.1