From owner-p4-projects@FreeBSD.ORG Tue Feb 26 14:13:56 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6D0171065672; Tue, 26 Feb 2008 14:13:56 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DC40106566B for ; Tue, 26 Feb 2008 14:13:56 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 228F713C469 for ; Tue, 26 Feb 2008 14:13:56 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1QEDuRB046190 for ; Tue, 26 Feb 2008 14:13:56 GMT (envelope-from rrs@cisco.com) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1QEDrYp046187 for perforce@freebsd.org; Tue, 26 Feb 2008 14:13:53 GMT (envelope-from rrs@cisco.com) Date: Tue, 26 Feb 2008 14:13:53 GMT Message-Id: <200802261413.m1QEDrYp046187@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rrs@cisco.com using -f From: "Randall R. Stewart" To: Perforce Change Reviews Cc: Subject: PERFORCE change 136239 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 14:13:56 -0000 http://perforce.freebsd.org/chv.cgi?CH=136239 Change 136239 by rrs@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);