PERFORCE change 136239 for review
Randall R. Stewart
rrs at FreeBSD.org
Tue Feb 26 14:13:56 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=136239
Change 136239 by rrs at rrs-mips2-jnpr on 2008/02/26 14:13:42
get rid of unused debug temp's
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/tick.c#9 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/tick.c#9 (text+ko) ====
@@ -264,7 +264,6 @@
struct clk_ticks *cpu_ticks;
struct trapframe *tf;
uint32_t ltick;
- uint8_t a=0, b=0, c=0, d=0;
/*
* Set next clock edge.
*/
@@ -275,7 +274,6 @@
if (ltick < counter_lower_last) {
counter_upper++;
counter_lower_last = ltick;
- a = 1;
}
/*
* Magic. Setting up with an arg of NULL means we get passed tf.
@@ -285,7 +283,6 @@
/* Fire hardclock at hz. */
cpu_ticks->hard_ticks += cycles_per_tick;
if (cpu_ticks->hard_ticks >= cycles_per_hz) {
- b = 1;
cpu_ticks->hard_ticks -= cycles_per_hz;
if (PCPU_GET(cpuid) == 0)
hardclock(USERMODE(tf->sr), tf->pc);
@@ -295,7 +292,6 @@
/* Fire statclock at stathz. */
cpu_ticks->stat_ticks += stathz;
if (cpu_ticks->stat_ticks >= cycles_per_hz) {
- c = 1;
cpu_ticks->stat_ticks -= cycles_per_hz;
statclock(USERMODE(tf->sr));
}
@@ -303,7 +299,6 @@
/* Fire profclock at profhz, but only when needed. */
cpu_ticks->prof_ticks += profhz;
if (cpu_ticks->prof_ticks >= cycles_per_hz) {
- d = 1;
cpu_ticks->prof_ticks -= cycles_per_hz;
if (profprocs != 0)
profclock(USERMODE(tf->sr), tf->pc);
More information about the p4-projects
mailing list