Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern nuke unused local variable



details:   https://anonhg.NetBSD.org/src/rev/352244a768d6
branches:  trunk
changeset: 748746:352244a768d6
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Nov 04 15:35:09 2009 +0000

description:
nuke unused local variable

diffstat:

 sys/kern/kern_proc.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 4fdab11c0898 -r 352244a768d6 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c      Wed Nov 04 14:39:17 2009 +0000
+++ b/sys/kern/kern_proc.c      Wed Nov 04 15:35:09 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_proc.c,v 1.156 2009/11/01 20:59:24 rmind Exp $    */
+/*     $NetBSD: kern_proc.c,v 1.157 2009/11/04 15:35:09 pooka Exp $    */
 
 /*-
  * Copyright (c) 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.156 2009/11/01 20:59:24 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.157 2009/11/04 15:35:09 pooka Exp $");
 
 #include "opt_kstack.h"
 #include "opt_maxuprc.h"
@@ -359,14 +359,12 @@
 {
        struct proc *p;
        struct pgrp *pg;
-       struct session *sess;
        struct lwp *l;
        rlim_t lim;
        int i;
 
        p = &proc0;
        pg = &pgrp0;
-       sess = &session0;
        l = &lwp0;
 
        KASSERT(l->l_lid == p->p_nlwpid);



Home | Main Index | Thread Index | Old Index