Module Name: src Committed By: pooka Date: Mon Jun 10 14:53:52 UTC 2013
Modified Files: src/sys/kern: kern_proc.c Log Message: g/c unused static variable To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187 src/sys/kern/kern_proc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_proc.c diff -u src/sys/kern/kern_proc.c:1.186 src/sys/kern/kern_proc.c:1.187 --- src/sys/kern/kern_proc.c:1.186 Sat Jun 9 02:31:14 2012 +++ src/sys/kern/kern_proc.c Mon Jun 10 14:53:52 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_proc.c,v 1.186 2012/06/09 02:31:14 christos Exp $ */ +/* $NetBSD: kern_proc.c,v 1.187 2013/06/10 14:53:52 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.186 2012/06/09 02:31:14 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.187 2013/06/10 14:53:52 pooka Exp $"); #ifdef _KERNEL_OPT #include "opt_kstack.h" @@ -172,7 +172,7 @@ struct pgrp pgrp0 = { }; filedesc_t filedesc0; struct cwdinfo cwdi0 = { - .cwdi_cmask = CMASK, /* see cmask below */ + .cwdi_cmask = CMASK, .cwdi_refcnt = 1, }; struct plimit limit0; @@ -206,7 +206,6 @@ kauth_cred_t cred0; static const int nofile = NOFILE; static const int maxuprc = MAXUPRC; -static const int cmask = CMASK; static int sysctl_doeproc(SYSCTLFN_PROTO); static int sysctl_kern_proc_args(SYSCTLFN_PROTO);