summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-06-02 12:05:06 +0000
committertjr <tjr@FreeBSD.org>2004-06-02 12:05:06 +0000
commit9bd12a2fd90347b5ab4bf69ea0c3532a9b4e7f50 (patch)
treec918adc056d39b34d566077a82a7f77e43229baa /sys/kern
parent97a623b578c0480ec012f1d32dc2fe6e8577b38d (diff)
downloadFreeBSD-src-9bd12a2fd90347b5ab4bf69ea0c3532a9b4e7f50.zip
FreeBSD-src-9bd12a2fd90347b5ab4bf69ea0c3532a9b4e7f50.tar.gz
Remove a redundant "td = curthread" statement from profclock().
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_clock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index a4485a4..5d56283 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -458,7 +458,6 @@ profclock(frame)
* if there is no related user location yet, don't
* bother trying to count it.
*/
- td = curthread;
if (td->td_proc->p_flag & P_PROFIL)
addupc_intr(td, CLKF_PC(frame), 1);
}
OpenPOWER on IntegriCloud