From owner-p4-projects@FreeBSD.ORG Mon Aug 21 09:48:54 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B607516A4E1; Mon, 21 Aug 2006 09:48:54 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B9A116A4DA for ; Mon, 21 Aug 2006 09:48:54 +0000 (UTC) (envelope-from cdjones@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 754E043D6B for ; Mon, 21 Aug 2006 09:48:48 +0000 (GMT) (envelope-from cdjones@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7L9mmAU064968 for ; Mon, 21 Aug 2006 09:48:48 GMT (envelope-from cdjones@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7L9mmg2064965 for perforce@freebsd.org; Mon, 21 Aug 2006 09:48:48 GMT (envelope-from cdjones@FreeBSD.org) Date: Mon, 21 Aug 2006 09:48:48 GMT Message-Id: <200608210948.k7L9mmg2064965@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to cdjones@FreeBSD.org using -f From: Chris Jones To: Perforce Change Reviews Cc: Subject: PERFORCE change 104670 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: Mon, 21 Aug 2006 09:48:55 -0000 http://perforce.freebsd.org/chv.cgi?CH=104670 Change 104670 by cdjones@cdjones_meanook on 2006/08/21 09:47:57 Kill unused variables. Affected files ... .. //depot/projects/soc2006/cdjones_jail/src/sys/kern/kern_jail.c#26 edit .. //depot/projects/soc2006/cdjones_jail/src/sys/kern/sched_4bsd.c#8 edit Differences ... ==== //depot/projects/soc2006/cdjones_jail/src/sys/kern/kern_jail.c#26 (text+ko) ==== @@ -147,7 +147,6 @@ struct thread *td; long limit, cursize, newsize, usage; int breakout; - int pr_id = pr->pr_id; int flags = J_PAGER_TD_ACTIVE; pr->pr_pager_flags_ptr = &flags; ==== //depot/projects/soc2006/cdjones_jail/src/sys/kern/sched_4bsd.c#8 (text+ko) ==== @@ -654,7 +654,6 @@ * soft limits available. Also, the amount of CPU time * reserved to unjailed processes really should be sysctl'd. */ - register unsigned int np = newpriority; register unsigned int skew; skew = pr->pr_estcpu * total_cpu_sched_shares; skew /= max(total_est_cpu, 1) * max(pr->pr_sched_shares, 1);