Source-Changes-HG archive

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

[src/trunk]: src/sys/kern g/c unused static variable



details:   https://anonhg.NetBSD.org/src/rev/76bf5fed2327
branches:  trunk
changeset: 787315:76bf5fed2327
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jun 10 14:53:52 2013 +0000

description:
g/c unused static variable

diffstat:

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

diffs (35 lines):

diff -r f491363e137a -r 76bf5fed2327 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c      Mon Jun 10 14:15:03 2013 +0000
+++ b/sys/kern/kern_proc.c      Mon Jun 10 14:53:52 2013 +0000
@@ -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 @@
 };
 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 @@
 
 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);



Home | Main Index | Thread Index | Old Index