Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern orphanpg: remove no longer user variable.
details: https://anonhg.NetBSD.org/src/rev/453b49a9a508
branches: trunk
changeset: 748686:453b49a9a508
user: rmind <rmind%NetBSD.org@localhost>
date: Sun Nov 01 20:59:24 2009 +0000
description:
orphanpg: remove no longer user variable.
diffstat:
sys/kern/kern_proc.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 6b7fefb26ccb -r 453b49a9a508 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c Sun Nov 01 20:57:34 2009 +0000
+++ b/sys/kern/kern_proc.c Sun Nov 01 20:59:24 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_proc.c,v 1.155 2009/10/21 21:12:06 rmind Exp $ */
+/* $NetBSD: kern_proc.c,v 1.156 2009/11/01 20:59:24 rmind 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.155 2009/10/21 21:12:06 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.156 2009/11/01 20:59:24 rmind Exp $");
#include "opt_kstack.h"
#include "opt_maxuprc.h"
@@ -1098,12 +1098,9 @@
orphanpg(struct pgrp *pg)
{
struct proc *p;
- int doit;
KASSERT(mutex_owned(proc_lock));
- doit = 0;
-
LIST_FOREACH(p, &pg->pg_members, p_pglist) {
if (p->p_stat == SSTOP) {
p->p_lflag |= PL_ORPHANPG;
Home |
Main Index |
Thread Index |
Old Index