Date: Mon, 21 Aug 2006 09:48:48 GMT From: Chris Jones <cdjones@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 104670 for review Message-ID: <200608210948.k7L9mmg2064965@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608210948.k7L9mmg2064965>