g/c unused static variable

This commit is contained in:
pooka 2013-06-10 14:53:52 +00:00
parent 9063a59c24
commit 59edb642f4
1 changed files with 3 additions and 4 deletions

View File

@ -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. * Copyright (c) 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@ -62,7 +62,7 @@
*/ */
#include <sys/cdefs.h> #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 #ifdef _KERNEL_OPT
#include "opt_kstack.h" #include "opt_kstack.h"
@ -172,7 +172,7 @@ struct pgrp pgrp0 = {
}; };
filedesc_t filedesc0; filedesc_t filedesc0;
struct cwdinfo cwdi0 = { struct cwdinfo cwdi0 = {
.cwdi_cmask = CMASK, /* see cmask below */ .cwdi_cmask = CMASK,
.cwdi_refcnt = 1, .cwdi_refcnt = 1,
}; };
struct plimit limit0; struct plimit limit0;
@ -206,7 +206,6 @@ kauth_cred_t cred0;
static const int nofile = NOFILE; static const int nofile = NOFILE;
static const int maxuprc = MAXUPRC; static const int maxuprc = MAXUPRC;
static const int cmask = CMASK;
static int sysctl_doeproc(SYSCTLFN_PROTO); static int sysctl_doeproc(SYSCTLFN_PROTO);
static int sysctl_kern_proc_args(SYSCTLFN_PROTO); static int sysctl_kern_proc_args(SYSCTLFN_PROTO);