diff options
author | imp <imp@FreeBSD.org> | 2005-04-19 21:40:49 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-04-19 21:40:49 +0000 |
commit | b98f7a40836f1e1b7859ba2313290f3941754f7f (patch) | |
tree | 1835af846fe3f94a0c5871f304099397304cdc97 /sys/hwpmc | |
parent | 9772dfc162eb24250e132be8bc21230e5a9c057a (diff) | |
download | FreeBSD-src-b98f7a40836f1e1b7859ba2313290f3941754f7f.zip FreeBSD-src-b98f7a40836f1e1b7859ba2313290f3941754f7f.tar.gz |
Remove unused variable that was horking up the LINT build
Diffstat (limited to 'sys/hwpmc')
-rw-r--r-- | sys/hwpmc/hwpmc_piv.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/hwpmc/hwpmc_piv.c b/sys/hwpmc/hwpmc_piv.c index 292fbba..8085a0e 100644 --- a/sys/hwpmc/hwpmc_piv.c +++ b/sys/hwpmc/hwpmc_piv.c @@ -1065,9 +1065,6 @@ p4_start_pmc(int cpu, int ri) struct p4_cpu *pc; struct pmc_hw *phw; struct p4pmc_descr *pd; -#if DEBUG - pmc_value_t tmp; -#endif KASSERT(cpu >= 0 && cpu < mp_ncpus, ("[p4,%d] illegal CPU value %d", __LINE__, cpu)); @@ -1218,9 +1215,9 @@ p4_start_pmc(int cpu, int ri) wrmsr(pd->pm_cccr_msr, cccrvalue); PMCDBG(MDP,STA,2,"p4-start/2 cpu=%d rc=%d ri=%d escr=%d" - "escrmsr=0x%x escrvalue=0x%x cccr_config=0x%x pmc=0x%jx", + "escrmsr=0x%x escrvalue=0x%x cccr_config=0x%x", cpu, rc, ri, pm->pm_md.pm_p4.pm_p4_escr, escrmsr, - escrvalue, cccrvalue, tmp); + escrvalue, cccrvalue); } else panic("invalid runcount %d\n", rc); |